Add diagnostic on calling inner classes constructors without receiver
Otherwise there will be just an unresolved reference that doesn't give any useful information #KT-8959 Fixed
This commit is contained in:
@@ -12,5 +12,5 @@ class C {
|
||||
|
||||
fun f() {
|
||||
<!RESOLUTION_TO_CLASSIFIER!>TestInterface<!>()
|
||||
C.<!UNRESOLVED_REFERENCE!>I<!>()
|
||||
}
|
||||
C.<!RESOLUTION_TO_CLASSIFIER!>I<!>()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user