aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-06-15 17:50:36 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-06-15 17:50:36 +0200
commite2a9573288485c29371f51179266661a5b392863 (patch)
tree0caf02c3e916745b0059151e66803d7aa2c6123f /tests
parent506a5e334d57084322fa89119d72fa96beb824b6 (diff)
downloaddotty-e2a9573288485c29371f51179266661a5b392863.tar.gz
dotty-e2a9573288485c29371f51179266661a5b392863.tar.bz2
dotty-e2a9573288485c29371f51179266661a5b392863.zip
Remove warnings that dotty doesn't emit from check files.
Diffstat (limited to 'tests')
-rw-r--r--tests/run/Course-2002-01.check3
-rw-r--r--tests/run/arrays.check6
-rw-r--r--tests/run/collection-stacks.check1
-rw-r--r--tests/run/contrib674.check3
-rw-r--r--tests/run/lazy-exprs.check8
-rw-r--r--tests/run/nothingTypeNoFramesNoDce.check1
6 files changed, 0 insertions, 22 deletions
diff --git a/tests/run/Course-2002-01.check b/tests/run/Course-2002-01.check
index 16b491d6e..17b30bf3c 100644
--- a/tests/run/Course-2002-01.check
+++ b/tests/run/Course-2002-01.check
@@ -1,6 +1,3 @@
-Course-2002-01.scala:41: warning: method loop in object M0 does nothing other than call itself recursively
- def loop: Int = loop;
- ^
232
667
11
diff --git a/tests/run/arrays.check b/tests/run/arrays.check
index c9a3a8726..b1f7fae1d 100644
--- a/tests/run/arrays.check
+++ b/tests/run/arrays.check
@@ -1,7 +1 @@
-arrays.scala:248: warning: comparing values of types Unit and Unit using `==' will always yield true
- check(xs(0) == u0, xs(0), u0);
- ^
-arrays.scala:249: warning: comparing values of types Unit and Unit using `==' will always yield true
- check(xs(1) == u1, xs(1), u1);
- ^
checks: 2302
diff --git a/tests/run/collection-stacks.check b/tests/run/collection-stacks.check
index 3a366bfcd..aa25cd1fa 100644
--- a/tests/run/collection-stacks.check
+++ b/tests/run/collection-stacks.check
@@ -1,4 +1,3 @@
-warning: there was one deprecation warning; re-run with -deprecation for details
3-2-1: true
3-2-1: true
apply
diff --git a/tests/run/contrib674.check b/tests/run/contrib674.check
index 78325c181..e69de29bb 100644
--- a/tests/run/contrib674.check
+++ b/tests/run/contrib674.check
@@ -1,3 +0,0 @@
-contrib674.scala:15: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
- 1
- ^
diff --git a/tests/run/lazy-exprs.check b/tests/run/lazy-exprs.check
index 2efb8ceb4..e77d20425 100644
--- a/tests/run/lazy-exprs.check
+++ b/tests/run/lazy-exprs.check
@@ -1,11 +1,3 @@
-lazy-exprs.scala:38: warning: match may not be exhaustive.
-It would fail on the following input: Some((x: String forSome x not in Z1))
- t match {
- ^
-lazy-exprs.scala:62: warning: match may not be exhaustive.
-It would fail on the following input: Some((x: String forSome x not in LazyField))
- t match {
- ^
forced <z1>
lazy val in scrutinee: ok
forced <z1>
diff --git a/tests/run/nothingTypeNoFramesNoDce.check b/tests/run/nothingTypeNoFramesNoDce.check
index b1d08b45f..e69de29bb 100644
--- a/tests/run/nothingTypeNoFramesNoDce.check
+++ b/tests/run/nothingTypeNoFramesNoDce.check
@@ -1 +0,0 @@
-warning: -target:jvm-1.5 is deprecated: use target for Java 1.6 or above.