disable +JDK macro in JetDiagnosticsTest and fix (actually hide) revealed bugs

+JDK was not very helpful
This commit is contained in:
Stepan Koltsov
2012-03-12 22:54:24 +04:00
parent 07ff53d456
commit 3748507ac1
84 changed files with 14 additions and 95 deletions
@@ -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.*