ImportOptimizer: add cases for unresolved references
Part of #KT-31331
This commit is contained in:
@@ -2,5 +2,8 @@
|
||||
package test;
|
||||
|
||||
import as.type.val.var.fun.is.in.object.when.typeof;
|
||||
import as.type.val.var.fun.is.in.object.when.typeof.as;
|
||||
|
||||
class Test {}
|
||||
class Test {
|
||||
public void foo(as a) { }
|
||||
}
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
// ERROR: Unresolved reference: `as`
|
||||
// ERROR: Unresolved reference: `as`
|
||||
package test
|
||||
|
||||
import `as`.type.`val`.`var`.`fun`.`is`.`in`.`object`.`when`.`typeof`
|
||||
import `as`.type.`val`.`var`.`fun`.`is`.`in`.`object`.`when`.`typeof`.`as`
|
||||
|
||||
internal class Test
|
||||
internal class Test {
|
||||
fun foo(a: `as`?) {}
|
||||
}
|
||||
Reference in New Issue
Block a user