[FIR] Report CANNOT_CHECK_FOR_ERASED independent of reified parameters
This changes the logic so that Foo<T> is reported no matter if T is reified or not. Even for Array<reified T> to align K2 with K1 logic. #KT-55903 Fixed
This commit is contained in:
committed by
Space Team
parent
bbee881b5b
commit
3bfb0866cb
@@ -1,5 +1,13 @@
|
||||
package
|
||||
|
||||
public fun </*0*/ T> foo(/*0*/ x: kotlin.collections.List<T>, /*1*/ y: kotlin.collections.List<T>?): kotlin.Unit
|
||||
public inline fun </*0*/ reified T> test(/*0*/ x: T?): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ S : T> test(/*0*/ x: T?, /*1*/ y: S, /*2*/ z: T): kotlin.Unit
|
||||
public inline fun </*0*/ reified T> test(/*0*/ x: T?, /*1*/ a: kotlin.Any): kotlin.Unit
|
||||
|
||||
public final class Box</*0*/ T> {
|
||||
public constructor Box</*0*/ T>()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user