Qualified this resolved correctly

This commit is contained in:
Andrey Breslav
2011-05-27 13:54:46 +04:00
parent d69f845902
commit b950a82fcd
7 changed files with 134 additions and 7 deletions
+13 -1
View File
@@ -1,3 +1,14 @@
namespace qualified_this {
~qtA~class A(val a:Int) {
~qtB~class B() {
val x = this`qtB`@B
val y = this`qtA`@A
}
}
}
class A<~T~T, ~E~E> {
val a : `T`T
val x : A<`T`T, `E`E>
@@ -8,4 +19,5 @@ class A<~T~T, ~E~E> {
~X.E~class E {}
}
}
}