[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

limbo error messages



the most recalcitrant diagnostic i've encountered so far is the
one on array initialisations :
e.g.
operand.b:25: inconsistent types OperandDescr and (int, string, (array of
int, string)) in array initializer

in this case, the line number refers to the beginning
of the array initialisation, which runs for 100 lines or so.
the actual problem is buried somewhere in the initialisation.
if you can't see the error, the only solution is to selectively comment
out lines until the error goes away... then you've found it!

apart from that (and "syntax error") its diagnostics are more
useful than many C compilers'.

anyway, the diagnostics are secondary... it's such an enormous
pleasure to write limbo code.

  rog.