summaryrefslogtreecommitdiff
path: root/test/files/neg/t7721.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-09-27 12:21:46 -0700
committerPaul Phillips <paulp@improving.org>2013-09-27 12:21:46 -0700
commitf9cd8ea3ca22264ab29d721633d312c850237121 (patch)
tree4d833087373589bca81c8d8d5ac57de1e8e77960 /test/files/neg/t7721.check
parent76b4810882f88a141b4445c9ce98f5afcfb80e01 (diff)
parent343127958ce708cab7bcab7acf344748567bd310 (diff)
downloadscala-f9cd8ea3ca22264ab29d721633d312c850237121.tar.gz
scala-f9cd8ea3ca22264ab29d721633d312c850237121.tar.bz2
scala-f9cd8ea3ca22264ab29d721633d312c850237121.zip
Merge pull request #2998 from paulp/pr/6120
SI-6120 multiple warnings at same position.
Diffstat (limited to 'test/files/neg/t7721.check')
-rw-r--r--test/files/neg/t7721.check8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/files/neg/t7721.check b/test/files/neg/t7721.check
index e056b9a293..ade1ca3b20 100644
--- a/test/files/neg/t7721.check
+++ b/test/files/neg/t7721.check
@@ -7,6 +7,9 @@ t7721.scala:15: warning: abstract type pattern A.this.Foo is unchecked since it
t7721.scala:19: warning: abstract type pattern A.this.Foo is unchecked since it is eliminated by erasure
case x: Foo with Bar => x.bippy + x.barry
^
+t7721.scala:19: warning: abstract type pattern A.this.Bar is unchecked since it is eliminated by erasure
+ case x: Foo with Bar => x.bippy + x.barry
+ ^
t7721.scala:39: warning: abstract type pattern B.this.Foo is unchecked since it is eliminated by erasure
case x: Foo with Concrete => x.bippy + x.dingo + x.conco
^
@@ -16,6 +19,9 @@ t7721.scala:43: warning: abstract type pattern B.this.Foo is unchecked since it
t7721.scala:47: warning: abstract type pattern B.this.Foo is unchecked since it is eliminated by erasure
case x: Foo with Bar with Concrete => x.bippy + x.barry + x.dingo + x.conco + x.bongo
^
+t7721.scala:47: warning: abstract type pattern B.this.Bar is unchecked since it is eliminated by erasure
+ case x: Foo with Bar with Concrete => x.bippy + x.barry + x.dingo + x.conco + x.bongo
+ ^
error: No warnings can be incurred under -Xfatal-warnings.
-6 warnings found
+8 warnings found
one error found