Exception fix (equal returns true for the same types) #EA-65206 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class A {
|
||||
val x = arrayListOf<(A<<!SYNTAX!><!>>) -> Unit>()
|
||||
|
||||
// Here we got an exception during type comparison
|
||||
fun foo(){
|
||||
<!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>x<!>.add {}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package
|
||||
|
||||
internal final class A {
|
||||
public constructor A()
|
||||
internal final val x: java.util.ArrayList<([ERROR : A]<[ERROR : No type element]>) -> kotlin.Unit>
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
internal final fun foo(): kotlin.Unit
|
||||
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