New J2K: do not find import usages in AST building phase
It is a rather heavy operation and it increases conversion time Related to #KT-31848
This commit is contained in:
+2
@@ -1,6 +1,8 @@
|
||||
// ERROR: The integer literal does not conform to the expected type CapturedType(*)
|
||||
// ERROR: The integer literal does not conform to the expected type CapturedType(*)
|
||||
// ERROR: Type argument is not within its bounds: should be subtype of 'String?'
|
||||
import java.util.HashMap
|
||||
|
||||
internal class G<T : String?>(t: T?)
|
||||
class Java {
|
||||
internal fun test() {
|
||||
|
||||
+1
-3
@@ -1,5 +1,3 @@
|
||||
import kotlin.collections.Map.Entry
|
||||
|
||||
class A {
|
||||
internal fun foo(o: Entry<Any?, Any?>?) {}
|
||||
internal fun foo(o: Map.Entry<Any?, Any?>?) {}
|
||||
}
|
||||
Reference in New Issue
Block a user