Closed gavinking closed 5 years ago
Given:
shared class NestedCtor { shared static class Ctor { shared new instance {} shared new create() {} } shared new() {} }
Calling NestedCtor.Ctor.create() or Ctor.create() results in a compilation error on the JVM.
NestedCtor.Ctor.create()
Ctor.create()
Fixed. This was quite tricky :-/
Given:
Calling
NestedCtor.Ctor.create()
orCtor.create()
results in a compilation error on the JVM.