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: b.kt
|
||||
// +JDK
|
||||
package outer
|
||||
|
||||
fun Int?.optint() : Unit {}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// +JDK
|
||||
import java.util.Enumeration
|
||||
|
||||
inline fun <T> java.util.Enumeration<T>.iterator() = object: Iterator<T> {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
|
||||
//+JDK
|
||||
//KT-819 Redeclaration error for extension properties with the same name and different receivers
|
||||
|
||||
import java.io.*
|
||||
|
||||
Reference in New Issue
Block a user