Skip to content

Commit e2a9573

Browse files
committed
Remove warnings that dotty doesn't emit from check files.
1 parent 506a5e3 commit e2a9573

File tree

6 files changed

+0
-22
lines changed

6 files changed

+0
-22
lines changed

tests/run/Course-2002-01.check

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
Course-2002-01.scala:41: warning: method loop in object M0 does nothing other than call itself recursively
2-
def loop: Int = loop;
3-
^
41
232
52
667
63
11

tests/run/arrays.check

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1 @@
1-
arrays.scala:248: warning: comparing values of types Unit and Unit using `==' will always yield true
2-
check(xs(0) == u0, xs(0), u0);
3-
^
4-
arrays.scala:249: warning: comparing values of types Unit and Unit using `==' will always yield true
5-
check(xs(1) == u1, xs(1), u1);
6-
^
71
checks: 2302

tests/run/collection-stacks.check

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
warning: there was one deprecation warning; re-run with -deprecation for details
21
3-2-1: true
32
3-2-1: true
43
apply

tests/run/contrib674.check

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
contrib674.scala:15: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
2-
1
3-
^

tests/run/lazy-exprs.check

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
lazy-exprs.scala:38: warning: match may not be exhaustive.
2-
It would fail on the following input: Some((x: String forSome x not in Z1))
3-
t match {
4-
^
5-
lazy-exprs.scala:62: warning: match may not be exhaustive.
6-
It would fail on the following input: Some((x: String forSome x not in LazyField))
7-
t match {
8-
^
91
forced <z1>
102
lazy val in scrutinee: ok
113
forced <z1>
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
warning: -target:jvm-1.5 is deprecated: use target for Java 1.6 or above.

0 commit comments

Comments
 (0)