Tests fixed

+
'this' is resolved to the corresponding declaration
This commit is contained in:
Andrey Breslav
2011-05-27 16:16:52 +04:00
parent e4df21c150
commit 6a03ec3878
29 changed files with 211 additions and 58 deletions
+7 -2
View File
@@ -2,8 +2,13 @@ namespace qualified_this {
~qtA~class A(val a:Int) {
~qtB~class B() {
val x = this`qtB`@B
val y = this`qtA`@A
val x = `qtB`this`qtB`@B
val y = `qtA`this`qtA`@A
val z = `qtB`this
~xx~val Int.xx = `xx`this : Int
~xx()~fun Int.xx() {
`xx()`this : Int
}
}
}
}