Skip to content

Commit 058f689

Browse files
committed
Fix repl test
The `.nn` method is visible even if the flag is turned off, so it shows up in a repl test for autocompletion.
1 parent 2849525 commit 058f689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/test/dotty/tools/repl/TabcompleteTests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class TabcompleteTests extends ReplTest {
116116
val comp = tabComplete("(null: AnyRef).")
117117
assertEquals(
118118
List("!=", "##", "+", "->", "==", "asInstanceOf", "clone", "ensuring", "eq", "equals", "finalize", "formatted",
119-
"getClass", "hashCode", "isInstanceOf", "ne", "notify", "notifyAll", "synchronized", "toString", "wait", ""),
119+
"getClass", "hashCode", "isInstanceOf", "ne", "nn", "notify", "notifyAll", "synchronized", "toString", "wait", ""),
120120
comp.distinct.sorted)
121121
}
122122

0 commit comments

Comments
 (0)