Re-enabled disabled test
This commit is contained in:
+1
-13
@@ -2,15 +2,12 @@
|
||||
// FILE: A.kt
|
||||
// VERSION: 1
|
||||
|
||||
open class X {
|
||||
val hasFoo = false
|
||||
}
|
||||
open class X
|
||||
|
||||
// FILE: B.kt
|
||||
// VERSION: 2
|
||||
|
||||
open class X {
|
||||
val hasFoo = false
|
||||
open fun foo(): String = "new member"
|
||||
}
|
||||
|
||||
@@ -33,15 +30,6 @@ fun qux(): String = Y().foo()
|
||||
// MODULE: mainLib(lib)
|
||||
// FILE: mainLib.kt
|
||||
|
||||
fun qux(): String {
|
||||
val y = Y()
|
||||
if (y.hasFoo()) {
|
||||
foo()
|
||||
} else {
|
||||
"no foo"
|
||||
}
|
||||
}
|
||||
|
||||
fun lib(): String = when {
|
||||
qux() != "new member" -> "fail 1"
|
||||
|
||||
+5
@@ -175,6 +175,11 @@ public class JsKlibBinaryCompatibilityTestGenerated extends AbstractJsKlibBinary
|
||||
runTest("compiler/testData/binaryCompatibility/klibEvolution/moveMemberUpInHierarchy.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("newFakeOverride.kt")
|
||||
public void testNewFakeOverride() throws Exception {
|
||||
runTest("compiler/testData/binaryCompatibility/klibEvolution/newFakeOverride.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("newOverrideMember.kt")
|
||||
public void testNewOverrideMember() throws Exception {
|
||||
runTest("compiler/testData/binaryCompatibility/klibEvolution/newOverrideMember.kt");
|
||||
|
||||
Reference in New Issue
Block a user