[FIR] Report UNSUPPORTED on array literals not from annotation classes ^KT-50750 Fixed
This commit is contained in:
Vendored
+2
-2
@@ -3,5 +3,5 @@
|
||||
fun foo(l: () -> Unit) {}
|
||||
fun bar(l: () -> String) {}
|
||||
|
||||
val a = foo { [] }
|
||||
val b = bar { [] }
|
||||
val a = foo { <!UNSUPPORTED!>[]<!> }
|
||||
val b = bar { <!UNSUPPORTED!>[]<!> }
|
||||
|
||||
Reference in New Issue
Block a user