Skip to content

Commit befc337

Browse files
committed
Update comment in test
1 parent 2c26cf2 commit befc337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/junit/scala/tools/nsc/typechecker/NamerTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ class NamerTest extends BytecodeTesting {
1818
compiler.compileClasses("package p1; class Test { C.b(); C.a() }; object C { def a(x: Int = 0) = 0; def b(x: Int = 0) = 0 }")
1919
val methods = compiler.global.rootMirror.getRequiredModule("p1.C").info.decls.toList.map(_.name.toString).filter(_.matches("""(a|b).*"""))
2020
def getterName(s: String) = nme.defaultGetterName(TermName(s), 1).toString
21-
Assert.assertEquals(List("a", getterName("a"), "b", getterName("b")), methods) // order depends on order of lazy type completion :(
21+
Assert.assertEquals(List("a", getterName("a"), "b", getterName("b")), methods) // order no longer depends on order of lazy type completion :)
2222
}
2323
}

0 commit comments

Comments
 (0)