declareAssignError

fun declareAssignError(identifier: String, rhsType: Type, lhsType: Type, ctx: ParserRuleContext)

Error for assigning expression of type rhsType to variable identifier with type lhsType, where rhsType and lhsType are different

Parameters

identifier
rhsType
lhsType
ctx