[objc][codegen] Fixed bug with calling fake override interface methods
This commit is contained in:
committed by
Stanislav Erokhin
parent
92f8eff958
commit
9b84d72a44
@@ -1012,3 +1012,12 @@ fun mutULong2Long(): MutableMap<ULong, Long> = mutableMapOf(Pair(0x8000_0000_000
|
||||
fun mutFloat2Float(): MutableMap<Float, Float> = mutableMapOf(Pair(3.14f, 100f))
|
||||
fun mutDouble2String(): MutableMap<Double, String> = mutableMapOf(Pair(2.718281828459045, "2.718281828459045"))
|
||||
|
||||
interface Foo_FakeOverrideInInterface<T> {
|
||||
fun foo(t: T?)
|
||||
}
|
||||
|
||||
interface Bar_FakeOverrideInInterface : Foo_FakeOverrideInInterface<String>
|
||||
|
||||
fun callFoo_FakeOverrideInInterface(obj: Bar_FakeOverrideInInterface) {
|
||||
obj.foo(null)
|
||||
}
|
||||
Reference in New Issue
Block a user