Class CheckTypeCovariance

All Implemented Interfaces:
Consumer<CovarianceCheckData>

final class CheckTypeCovariance extends TypedSymbolAccess implements Consumer<CovarianceCheckData>
Checks the covariance compatibility of two variables, this will traverse them to get their types. Emits errors if they are not compatible. This is a check that excludes coercion of types.