Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.7.0
-
Fix Version/s: 1.7.1, 1.8-beta-1
-
Component/s: Compiler
-
Labels:None
-
Number of attachments :
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.
Done. The property methods from the outer class are not replicated into the inner classes anymore.