FIR: permit * as FunctionN type argument

`() -> *` is not valid, but `F<*>` where `typealias F<T> = () -> T` is.
This commit is contained in:
pyos
2021-02-02 14:08:31 +01:00
committed by TeamCityServer
parent 32dacc37c0
commit 354acc1fd5
13 changed files with 79 additions and 67 deletions
@@ -0,0 +1,3 @@
fun invoke(f: Function1<Any?, *>) = f("OK")
fun box() = invoke { it } as String