Skip to content

Commit b824834

Browse files
committed
Fix test
1 parent f373c46 commit b824834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class ShadowingTests extends ReplTest(options = ShadowingTests.options):
8080
shadowed = "class C(val c: Int)",
8181
script =
8282
"""|scala> new C().c
83-
|-- Error: ----------------------------------------------------------------------
83+
|-- [E171] Type Error: ----------------------------------------------------------
8484
|1 | new C().c
8585
| | ^^^^^^^
8686
| | missing argument for parameter c of constructor C in class C: (c: Int): C

0 commit comments

Comments
 (0)