KT-20 Resolve class objects' contents in the 'static' scope

This commit is contained in:
Stepan Koltsov
2011-11-08 14:21:57 +04:00
parent 509ffb2fde
commit 35275466bc
2 changed files with 19 additions and 9 deletions
@@ -0,0 +1,9 @@
// http://youtrack.jetbrains.net/issue/KT-20
class A() {
val x = 1
class object {
val y = <!UNRESOLVED_REFERENCE!>x<!>
}
}