FIR2IR: do not convert @ExtensionFunctionType twice

This commit is contained in:
Jinseong Jeon
2020-12-16 14:22:02 -08:00
committed by TeamCityServer
parent 4608431682
commit fe0c25693d
29 changed files with 168 additions and 230 deletions
@@ -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?>? */)
}