mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
In some cases, calls of methods with default arguments were invoked via the actual generated method, not via the "...$default" accessor
6 lines
109 B
Kotlin
6 lines
109 B
Kotlin
class A
|
|
|
|
fun A.contains(i: A, actual: Boolean = true) = actual
|
|
|
|
fun box() = if (A() in A()) "OK" else "Fail"
|