disable +JDK macro in JetDiagnosticsTest and fix (actually hide) revealed bugs
+JDK was not very helpful
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
//FILE:a.kt
|
||||
//+JDK
|
||||
//KT-1080 Don't use previously imported packages while resolving import references
|
||||
|
||||
package kt1080
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// +JDK
|
||||
|
||||
package kt_250_617_10
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
package kt939
|
||||
|
||||
//+JDK
|
||||
|
||||
//KT-939 CommonSupertypes erases scopes associated to types
|
||||
|
||||
|
||||
@@ -1,27 +1,23 @@
|
||||
//FILE:a.kt
|
||||
//KT-955 Unable to import a Kotlin package into a Kotlin file with no package header
|
||||
//+JDK
|
||||
|
||||
package foo
|
||||
|
||||
fun f() {}
|
||||
|
||||
//FILE:b.kt
|
||||
//+JDK
|
||||
|
||||
import foo.*
|
||||
|
||||
val m = f() // unresolved
|
||||
|
||||
//FILE:c.kt
|
||||
//+JDK
|
||||
|
||||
package java.util
|
||||
|
||||
fun bar() {}
|
||||
|
||||
//FILE:d.kt
|
||||
//+JDK
|
||||
|
||||
import java.util.*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user