Page 1 of 1

not very helpful compiler message on missing pars

PostPosted: Thu Dec 11, 2008 10:38 am
by jonathandavid
If I write:

class Simple
def main is shared
print int.parse("1" # UPS!


I get the following compiler error (translated from Spanish):

error: COBRA INTERNAL ERROR / NullReferenceException / Reference to object not set as object instance

Of course in this simplified example it's easy to know what's going on, but it took me several minutes in some code that involved 3 nested pars.

Regards,
Manuel

Re: not very helpful compiler message on missing pars

PostPosted: Thu Dec 11, 2008 6:05 pm
by Charles
Fixed and checked in with test case.

Thanks for the report.