-
-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tries to fix the instability in https://github.com/com-lihaoyi/mill/actions/runs/12719802399/job/35460719291?pr=4272 It seems `sortInPlaceWith` uses `Ordering.fromLessThan`, which means it must return `false` when both sides are equal. The previous implementation returned `true` when both `getDeclaringClass` and `getReturnType` were equal, which violates that invariant and could possible cause that crash depending on how the sort executes
- Loading branch information
Showing
2 changed files
with
31 additions
and
13 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