FIR2IR: support substitution for SAM types
This commit is contained in:
Vendored
+2
-2
@@ -1,8 +1,8 @@
|
||||
fun test1(f: Function1<String, String>): C<String?> {
|
||||
return C<String?>(jxx = f /*-> J<X?, X?>? */)
|
||||
return C<String?>(jxx = f /*-> J<String?, String?>? */)
|
||||
}
|
||||
|
||||
fun test2(x: Any) {
|
||||
x as Function1<String, String> /*~> Unit */
|
||||
C<String?>(jxx = x /*as Function1<String, String> */ /*-> J<X?, X?>? */) /*~> Unit */
|
||||
C<String?>(jxx = x /*as Function1<String, String> */ /*-> J<String?, String?>? */) /*~> Unit */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user