KT-43045 mangle function name for fake override with default impl
This commit is contained in:
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
interface IFoo<T> {
|
||||
fun foo(x: T): String = "OK"
|
||||
fun T.bar(): String = "OK"
|
||||
fun withDefault(x: T, y: Int = 42): String = "OK"
|
||||
}
|
||||
|
||||
inline class L(val x: Long) : IFoo<L>
|
||||
|
||||
class X : IFoo<L>
|
||||
Reference in New Issue
Block a user