K2: don't make T = Type! substitutions for constructors, including SAM
Without this commit we get some ABI changes and it looks bad. Related to KT-65596
This commit is contained in:
committed by
Space Team
parent
81414d758d
commit
78b6432ced
+2
-2
@@ -1,8 +1,8 @@
|
||||
fun test1(): J<@FlexibleNullability String?> {
|
||||
fun test1(): J<String> {
|
||||
return local fun <anonymous>(x: @FlexibleNullability String?): @FlexibleNullability String? {
|
||||
return x
|
||||
}
|
||||
/*-> J<@FlexibleNullability String?> */
|
||||
/*-> J<String> */
|
||||
}
|
||||
|
||||
fun test10(fn: Function1<Int, String>) {
|
||||
|
||||
Reference in New Issue
Block a user