From 343127958ce708cab7bcab7acf344748567bd310 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Thu, 26 Sep 2013 18:24:52 -0700 Subject: SI-6120 multiple warnings at same position. An error suppresses all further warnings at the same position, but multiple warnings can be heard. --- test/files/neg/t7756b.check | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/files/neg/t7756b.check') diff --git a/test/files/neg/t7756b.check b/test/files/neg/t7756b.check index 2817a7e230..e764783241 100644 --- a/test/files/neg/t7756b.check +++ b/test/files/neg/t7756b.check @@ -1,6 +1,9 @@ t7756b.scala:3: warning: comparing values of types Int and String using `==' will always yield false case _ => 0 == "" ^ +t7756b.scala:3: warning: Int and String are unrelated: they will most likely never compare equal + case _ => 0 == "" + ^ error: No warnings can be incurred under -Xfatal-warnings. -one warning found +two warnings found one error found -- cgit v1.2.3