opeongo

Results 117 comments of opeongo

null is not 0. null means we don't know the value. Automatically converting to zero is a mistake. BeanShell was designed as an extension language for Java. Breaking semantics this...

For the record, I think that throwing an exception is a better choice. My grumpiness about it is the surprise factor that I don't recall seeing or hearing about this....

I have stumbled across a few things that have broken my script such as - Handling of undefined variables is different (this issue) - new loosely typed variables are no...

> Looks good but we are loosing too much code coverage. Please add tests for the other paths too: > > Some or all of these conditions are missing: >...

This PR seems to have been mangled by the forced-push that was done last month. Does it need to deleted and pushed again?

When you pull on the string more issues crop up. Since FORMAL_COMMENT is defined as a regular token then it has to be included in to the grammar. Currently a...

Maybe the best and easiest solution to this problem is to not have formal comments be a proper token, and instead they should just be a SPECIAL_TOKEN like the other...

> Yes it is used for documentation. With this type of change formal comments can still be used by tools that want to process documentation, but they will have to...

funcs = new Object[] { FakeClass(), FakeClass(), FakeClass() }; print( funcs[0].prop );