Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
1.7.0
-
None
Description
class Foo {
def foo
class Bar
{ // could also be static }}
Look at the generated Java source code. All property accessors in Foo are replicated in Bar. An easy way to show this is to define a property with the same name in both classes. Javac will fail with a duplicate declaration error.