-
Notifications
You must be signed in to change notification settings - Fork 11k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable two assertions for j2kt that are only passing by accident
The implementation code expects `Comparable` implementations to throw `ClassCastException`s when trying to compare to objects of the wrong type. Kotlin/Native `Comparable`s don’t make this guarantee yet (This is expected to change when https://youtrack.jetbrains.com/issue/KT-71001/ is fixed). The assertions are preventing us from making a compiler flag change that changes the behavior that made these assertions pass accidentally. PiperOrigin-RevId: 725264702
- Loading branch information
1 parent
ca73f71
commit 8ea070f
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters