FIR2IR: do not convert @ExtensionFunctionType twice
This commit is contained in:
committed by
TeamCityServer
parent
4608431682
commit
fe0c25693d
+2
-2
@@ -38,11 +38,11 @@ fun <T : Any?> test7(a: Any) {
|
||||
bar<T?>(j = a /*as Function1<T, T> */ /*-> J<X?>? */)
|
||||
}
|
||||
|
||||
fun test8(efn: @ExtensionFunctionType @ExtensionFunctionType Function1<String, String>): J<String?> {
|
||||
fun test8(efn: @ExtensionFunctionType Function1<String, String>): J<String?> {
|
||||
return efn /*-> J<String?> */
|
||||
}
|
||||
|
||||
fun test9(efn: @ExtensionFunctionType @ExtensionFunctionType Function1<String, String>) {
|
||||
fun test9(efn: @ExtensionFunctionType Function1<String, String>) {
|
||||
bar<String?>(j = efn /*-> J<X?>? */)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user