declare Assign Error
fun declareAssignError(identifier: String, rhsType: Type, lhsType: Type, ctx: ParserRuleContext)
Content copied to clipboard
Error for assigning expression of type rhsType to variable identifier with type lhsType, where rhsType and lhsType are different
Parameters
identifier
rhsType
lhsType
ctx