[FIR] Bring equivalent call behavior closer to K1
#KT-61159 Fixed
This commit is contained in:
committed by
Space Team
parent
7c67e9e08b
commit
fa77e3952d
+1
-1
@@ -11,7 +11,7 @@ class MyClass2 {}
|
||||
|
||||
fun test(mc1: MyClass, mc2: MyClass2) {
|
||||
val (a, b) = <!COMPONENT_FUNCTION_MISSING!>mc1<!>
|
||||
val (c) = mc2
|
||||
val (c) = <!COMPONENT_FUNCTION_AMBIGUITY!>mc2<!>
|
||||
|
||||
//a,b,c are error types
|
||||
use(a, b, c)
|
||||
|
||||
Reference in New Issue
Block a user