Drop identityEquals from builtins, compiler and tests.
This commit is contained in:
@@ -8,7 +8,7 @@ fun box(): String {
|
||||
}
|
||||
}
|
||||
catch (caught: Throwable) {
|
||||
if (!(caught.identityEquals(e))) return "Fail: $caught"
|
||||
if (caught !== e) return "Fail: $caught"
|
||||
// If monitorexit didn't happen (a finally block failed), this assertion would fail
|
||||
assertThatThreadDoesNotOwnMonitor(obj)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user