|
|
|
[
Permlink
| « Hide
]
Jochen Theodorou - 03/May/08 11:20 AM
when you try this in Java, does it compile? I doubt it.
Hi Jochen,
I tried the code in the groovy console Cheers, the problem happens also for normal interfaces. The code around AntlrParserPlugin.java:558 does not check if the return type is used. In that case it is of course no constructor. Probably "def" has no representation, I need to check that, but if it has, then the check should be move to the return type processing. Or maybe removing the test altogether is best? I need to check the grammar to see if the return type is really optional... I think it should not be that way. If it is not optional, then the grammar part would fail already, no need for this test then.
|
||||||||||||||||||||||||||||||||||||||||||