Partially support call with errors
Cases with no candidates or with Ambiguity is not supported yet
This commit is contained in:
-1
@@ -1,7 +1,6 @@
|
||||
// IS_APPLICABLE: false
|
||||
// ERROR: Cannot find a parameter with this name: c
|
||||
// ERROR: 'operator' modifier is inapplicable on this function: must have a single value parameter
|
||||
// IGNORE_FE10_BINDING_BY_FIR
|
||||
fun test() {
|
||||
class Test{
|
||||
operator fun contains(a: Int=1, b: Int=2): Boolean = true
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
// IS_APPLICABLE: false
|
||||
// ERROR: No value passed for parameter 'b'
|
||||
// ERROR: 'operator' modifier is inapplicable on this function: must have a single value parameter
|
||||
// IGNORE_FE10_BINDING_BY_FIR
|
||||
fun test() {
|
||||
class Test{
|
||||
operator fun contains(a: Int, b: Int): Boolean = true
|
||||
|
||||
Reference in New Issue
Block a user