Allow to use "static" part of class in own constructors by short name, including in primary constructor
This commit is contained in:
+3
-1
@@ -2,6 +2,8 @@ package ppp
|
||||
|
||||
import ppp.Base.Nested
|
||||
|
||||
class Base(p: Nested) {
|
||||
fun foo(p: Nested) {}
|
||||
|
||||
class Base {
|
||||
class Nested
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user