Minor: update testData

In BridgeTest::testFakeOverrideMisleadingImplementation,
order of generated bridges has changed slightly
(but the overall set of generated bridges remains the same).
This commit is contained in:
Dmitry Petrov
2020-04-03 18:31:27 +03:00
parent 7938a992dd
commit a422a12407
4 changed files with 4 additions and 1 deletions
@@ -1,5 +1,6 @@
// IGNORE_BACKEND_FIR: JVM_IR
// WITH_RUNTIME
// KJS_WITH_FULL_RUNTIME
inline class FieldValue(val value: String)
@@ -1,4 +1,5 @@
// WITH_RUNTIME
// KJS_WITH_FULL_RUNTIME
inline class NumberInlineClass(val value: Double)
@@ -1,4 +1,5 @@
// WITH_RUNTIME
// KJS_WITH_FULL_RUNTIME
inline class NumberInlineClass(val value: Double)
@@ -477,7 +477,7 @@ class BridgeTest : TestCase() {
graph(c to a, e to d, f to b, f to c, f to e)
doTest(e, setOf())
// Although "a" is a concrete declaration, it's overridden with abstract in "c" and all bridges should delegate to "d" instead
doTest(f, setOf(bridge(a, d), bridge(b, d), bridge(c, d)))
doTest(f, setOf(bridge(b, d), bridge(a, d), bridge(c, d)))
}
// Fake override overrides another fake override (or declaration) with some bridges already present there