Qualified this resolved correctly
This commit is contained in:
@@ -26,7 +26,6 @@ fun test(l : java.util.List<Int>) {
|
||||
|
||||
<error>new List<Int></error>
|
||||
|
||||
// Collections.sort<Integer>(new ArrayList<Integer>())
|
||||
|
||||
val o = "sdf" <warning>as</warning> Object
|
||||
|
||||
@@ -42,4 +41,12 @@ fun test(l : java.util.List<Int>) {
|
||||
val c : Com<Int>? = null
|
||||
|
||||
c : java.lang.Comparable<Int>?
|
||||
|
||||
// Collections.sort<Integer>(new ArrayList<Integer>())
|
||||
//new xxx.error>Class/error>()
|
||||
}
|
||||
|
||||
|
||||
namespace xxx {
|
||||
import java.lang.Class;
|
||||
}
|
||||
|
||||
@@ -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 {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user