Reading compiler errors
You will learn
How to read the line and column of an error, using four real mistakes.
A parse error says where the parser was, near which line, and the token it did not expect, with a line and a column. A type error names the constant and why its value does not fit. Read the position first, then look one token to the left: the mistake is often just before the place the parser stopped. The table shows what the compiler on this site answered for four small mistakes.