JS: fix FE crashing when type argument count less than parameter count
See KT-20908
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
inline fun <T, reified K> bar() {}
|
||||
|
||||
fun foo() {
|
||||
bar<!WRONG_NUMBER_OF_TYPE_ARGUMENTS!><Int><!>()
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
package
|
||||
|
||||
public inline fun </*0*/ T, /*1*/ reified K> bar(): kotlin.Unit
|
||||
public fun foo(): kotlin.Unit
|
||||
Reference in New Issue
Block a user