Skip to content

Commit

Permalink
Revert reflect comparison change
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Jul 25, 2023
1 parent 9eeb151 commit 14c6bdc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main/define/src/mill/define/Reflect.scala
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ private[mill] object Reflect {
// return type, so we can identify the most specific override
res
.sortWith((m1, m2) =>
// Try to compare both ways to avoid flaky failure
// https://github.com/com-lihaoyi/mill/actions/runs/5633637756/job/15262758990
m1.getDeclaringClass.isAssignableFrom(m2.getDeclaringClass)
)
.sortWith((m1, m2) =>
Expand Down

0 comments on commit 14c6bdc

Please # to comment.