Fix codegen tests after types enhancement
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ import java.util.AbstractMap
|
||||
import java.util.Collections
|
||||
|
||||
class A : AbstractMap<Int, String>() {
|
||||
override fun entrySet(): Set<Map.Entry<Int, String>> = Collections.emptySet()
|
||||
override fun entrySet(): MutableSet<MutableMap.MutableEntry<Int, String>> = Collections.emptySet()
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
|
||||
@@ -15,7 +15,7 @@ val a by Delegates.lazy {
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val r = a["result"]
|
||||
val r = a["result"]!!
|
||||
|
||||
// Check that reflection won't fail
|
||||
r.javaClass.getEnclosingMethod().toString()
|
||||
|
||||
Reference in New Issue
Block a user