Allow resolve class declarations in class objects
Use INACCESSIBLE_OUTER_CLASS_EXPRESSION error for marking already resolved elements #KT-3261 Fixed
This commit is contained in:
@@ -4,6 +4,6 @@ class A() {
|
||||
val x = 1
|
||||
|
||||
class object {
|
||||
val y = <!UNRESOLVED_REFERENCE!>x<!>
|
||||
val y = <!INACCESSIBLE_OUTER_CLASS_EXPRESSION!>x<!>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user