[FIR JS] Prepare the test data for FIR
This commit is contained in:
committed by
Space Team
parent
0e38d0ebd2
commit
73c89a5d9d
@@ -0,0 +1,10 @@
|
||||
fun interface Foo<T> {
|
||||
fun invoke(): T
|
||||
}
|
||||
|
||||
fun test() {
|
||||
Foo { }
|
||||
Foo<Unit> { }
|
||||
Foo<String> <!ARGUMENT_TYPE_MISMATCH!>{ }<!>
|
||||
Foo<String> { "" }
|
||||
}
|
||||
Reference in New Issue
Block a user