Class CheckTypesCompatible

All Implemented Interfaces:
Consumer<TypeCompatibilityData>

final class CheckTypesCompatible extends TypedSymbolAccess implements Consumer<TypeCompatibilityData>
Check that the types of two symbol ar compatible with each other. Or an error is emitted. compatible means supers or traits are compatible or that the second var type can be coerced to the first. Note this also checks for abstract functions being on the right handside.