not very helpful compiler message on missing pars
Posted: Thu Dec 11, 2008 10:38 am
If I write:
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
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