HaskellTiger icon indicating copy to clipboard operation
HaskellTiger copied to clipboard

show source context in parse/semant errors

Open tdp2110 opened this issue 4 years ago • 0 comments

Eg, instead of outputting

tigerc: Parse Error at token (Lexeme class=IN, posn=12:1, string="in")

or

semantic issue at line 11, col 24: "parameter 0 of func isOdd requires type INT but was passed a value of type STRING"

Show the source context

tdp2110 avatar Apr 19 '21 04:04 tdp2110