[FIR] Fix missing type mismatch with array literals
Clarify existing type mismatch errors on array literals ^KT-60474 Fixed Remove ResolutionMode.TransformingArrayLiterals
This commit is contained in:
committed by
Space Team
parent
e1ebbc10d9
commit
f4e4c5e724
+1
-1
@@ -6,7 +6,7 @@ fun test1() {}
|
||||
@Foo([], [], [])
|
||||
fun test2() {}
|
||||
|
||||
@Foo([1f], <!ARGUMENT_TYPE_MISMATCH!>[' ']<!>, [1])
|
||||
@Foo([<!ARGUMENT_TYPE_MISMATCH!>1f<!>], <!ARGUMENT_TYPE_MISMATCH!>[' ']<!>, [<!ARGUMENT_TYPE_MISMATCH!>1<!>])
|
||||
fun test3() {}
|
||||
|
||||
@Foo(c = [1f], b = [""], a = [1])
|
||||
|
||||
Reference in New Issue
Block a user