K2: handle extra value parameter in FirCallCompleter properly
#KT-60450 Fixed
This commit is contained in:
committed by
Space Team
parent
0068a3f6b8
commit
6ce096f0ed
+10
@@ -0,0 +1,10 @@
|
||||
// ISSUE: KT-60450
|
||||
fun main() {
|
||||
val l = listOf<String>()
|
||||
l.zip(l).forEach { left, <!CANNOT_INFER_PARAMETER_TYPE!>right<!><!SYNTAX!><!>
|
||||
|
||||
}
|
||||
l.zip(l).forEach <!ARGUMENT_TYPE_MISMATCH!>{ left, <!CANNOT_INFER_PARAMETER_TYPE!>right<!> ->
|
||||
|
||||
}<!>
|
||||
}
|
||||
Reference in New Issue
Block a user