FIR multi-module: minor test data fixes after resolve enhancements
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ FILE: simpleFakeOverride.kt
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final fun test(): R|kotlin/Unit| {
|
public final fun test(): R|kotlin/Unit| {
|
||||||
R|FakeOverride</A.foo: R|ft<T, T?>|!>|(R|/Some.Some|())
|
R|FakeOverride</A.foo: R|ft<Some, Some?>|!>|(R|/Some.Some|())
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,6 +7,6 @@ class D : C() {
|
|||||||
fun test() {
|
fun test() {
|
||||||
foo("")
|
foo("")
|
||||||
bar("") // should be resolved to just C.bar
|
bar("") // should be resolved to just C.bar
|
||||||
baz("") // ambiguity (we have C.bar with CharSequence argument and fake override of A.bar with String argument)
|
baz("")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -24,7 +24,7 @@ FILE: jvm.kt
|
|||||||
public final fun test(): R|kotlin/Unit| {
|
public final fun test(): R|kotlin/Unit| {
|
||||||
R|FakeOverride</A.foo: R|kotlin/Unit|>|(String())
|
R|FakeOverride</A.foo: R|kotlin/Unit|>|(String())
|
||||||
R|/C.bar|(String())
|
R|/C.bar|(String())
|
||||||
<Ambiguity: baz, [/C.baz, /A.baz]>#(String())
|
R|FakeOverride</A.baz: R|kotlin/String|>|(String())
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user