Change outer scope for nested class and object -- removed implicit outer class receiver.
#KT-5362 Fixed #KT-8814 Fixed
This commit is contained in:
+1
-1
@@ -4,6 +4,6 @@ class Test {
|
||||
fun test(): Int = 12
|
||||
|
||||
companion object {
|
||||
val a = <!INACCESSIBLE_OUTER_CLASS_EXPRESSION!>test()<!> // Check if resolver will be able to infer type of a variable
|
||||
val a = <!UNRESOLVED_REFERENCE!>test<!>() // Check if resolver will be able to infer type of a variable
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user