Correct scope for property accessors in lazy resolve

This commit is contained in:
Andrey Breslav
2014-03-19 18:53:55 +04:00
parent 4dfb6763b2
commit 34c6eaec56
9 changed files with 62 additions and 10 deletions
@@ -0,0 +1,7 @@
class Foo(val a: Int, b: Int) {
val e: Int
get() = <caret>
}
// EXIST: a
// ABSENT: b
@@ -0,0 +1,6 @@
class Foo(val a: Int, b: Int) {
val e: Int = <caret>
}
// EXIST: a
// EXIST: b