incompatibleOperatorTypeError

fun incompatibleOperatorTypeError(operator: String, expr1Type: Type, expr2Type: Type? = null, ctx: ParserRuleContext)

Error when operator operator is incompatible with types expr1Type and expr2Type

Parameters

operator
expr1Type
expr2Type
ctx