Skip to content

Commit 0a5e01d

Browse files
committed
update ShadowingTests add "-- Error:"
1 parent 05a454a commit 0a5e01d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ class ShadowingTests extends ReplTest(options = ShadowingTests.options):
7878
shadowed = "class C(val c: Int)",
7979
script =
8080
"""|scala> new C().c
81+
|-- Error:
8182
|1 | new C().c
8283
| | ^^^^^^^
8384
| | missing argument for parameter c of constructor C in class C: (c: Int): C

0 commit comments

Comments
 (0)