[AA LC] Map unresolved types according to aliased imports
This commit is contained in:
committed by
Space Team
parent
d5a76a1b3b
commit
36ae901b19
+9
@@ -0,0 +1,9 @@
|
||||
public final class Derived /* some.Derived*/ implements other.Unresolved {
|
||||
private final other.Unresolved x = null /* initializer type: null */;
|
||||
|
||||
public Derived();// .ctor()
|
||||
|
||||
public final other.Unresolved getX();// getX()
|
||||
|
||||
public final void takeA(other.Unresolved);// takeA(other.Unresolved)
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
public final class Derived /* some.Derived*/ {
|
||||
private final error.NonExistentClass x;
|
||||
|
||||
public Derived();// .ctor()
|
||||
|
||||
public final error.NonExistentClass getX();// getX()
|
||||
|
||||
public final void takeA(error.NonExistentClass);// takeA(error.NonExistentClass)
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package some
|
||||
|
||||
import other.Unresolved as A
|
||||
|
||||
class Derived : A {
|
||||
val x: A? = null
|
||||
|
||||
fun takeA(a: A) {}
|
||||
}
|
||||
|
||||
// COMPILATION_ERRORS
|
||||
Reference in New Issue
Block a user