11 lines
265 B
Kotlin
Vendored
11 lines
265 B
Kotlin
Vendored
// IS_APPLICABLE: false
|
|
// ERROR: An argument is already passed for this parameter
|
|
// ERROR: No value passed for parameter b
|
|
fun test() {
|
|
class Test{
|
|
operator fun get(a: Int, b: Int) : Int = 0
|
|
}
|
|
val test = Test()
|
|
test.g<caret>et(a=0, a=1)
|
|
}
|