From 14c6bdc0cceb1f5844cb73d5fdcb37d044e10b5b Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 25 Jul 2023 09:38:59 +0800 Subject: [PATCH] Revert reflect comparison change --- main/define/src/mill/define/Reflect.scala | 2 -- 1 file changed, 2 deletions(-) diff --git a/main/define/src/mill/define/Reflect.scala b/main/define/src/mill/define/Reflect.scala index 05a963a3d60..b9d98c1280b 100644 --- a/main/define/src/mill/define/Reflect.scala +++ b/main/define/src/mill/define/Reflect.scala @@ -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) =>