diff --git a/tests/run/i19224.scala b/tests/run/i19224.scala index 3d34a278f7fc..e85337b2c43f 100644 --- a/tests/run/i19224.scala +++ b/tests/run/i19224.scala @@ -4,8 +4,6 @@ object Test extends App: def x(): Int => String = (i: Int) => i.toString def y(): () => String = () => field.toString locally: - assert(x() == x()) // was true on Scala 2, false on Scala 3... + assert(x() == x()) // true on Scala 2, was false on Scala 3... assert(y() == y()) // also true if `y` accesses object-local fields - -//@main def Test = App()