Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
public class Computer { public class Cpu { int coreNumber public Cpu(int coreNumber) { this.coreNumber = coreNumber } } } def coreNumber = new Computer().new Cpu(4).coreNumber // `new` will be parsed as a method name, but it's wrong assert 4 == coreNumber