more tests for backing fields

This commit is contained in:
Stepan Koltsov
2011-11-21 14:07:11 +04:00
parent f6426bc6d4
commit 3915d24660
3 changed files with 15 additions and 2 deletions
@@ -129,7 +129,6 @@ class AnonymousInitializers(var a: String, val b: String) {
{
x = 11
<!UNRESOLVED_REFERENCE!>$y<!> = 11
<!VAL_REASSIGNMENT!>z<!> = 10
}
@@ -350,4 +349,4 @@ fun test(m : M) {
fun test1(m : M) {
<!VAL_REASSIGNMENT!>m.x<!>++
m.y--
}
}
@@ -0,0 +1,7 @@
val y = 1
class A() {
{
val x = <!UNRESOLVED_REFERENCE!>$y<!>
}
}
@@ -0,0 +1,7 @@
val y = 1
class A() {
{
<!UNRESOLVED_REFERENCE!>$y<!> = 1
}
}