diff options
author | Paul Phillips <paulp@improving.org> | 2013-09-26 18:24:52 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-09-27 09:19:30 -0700 |
commit | 343127958ce708cab7bcab7acf344748567bd310 (patch) | |
tree | 4cb847784db29e8b643a251768f910d7c0145906 /test/files/neg/unreachablechar.check | |
parent | 1a3c16fd36407bb2308bbb84739601544ac4a2e5 (diff) | |
download | scala-343127958ce708cab7bcab7acf344748567bd310.tar.gz scala-343127958ce708cab7bcab7acf344748567bd310.tar.bz2 scala-343127958ce708cab7bcab7acf344748567bd310.zip |
SI-6120 multiple warnings at same position.
An error suppresses all further warnings at the same position,
but multiple warnings can be heard.
Diffstat (limited to 'test/files/neg/unreachablechar.check')
-rw-r--r-- | test/files/neg/unreachablechar.check | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/neg/unreachablechar.check b/test/files/neg/unreachablechar.check index 121f12a0c7..a621196c56 100644 --- a/test/files/neg/unreachablechar.check +++ b/test/files/neg/unreachablechar.check @@ -4,6 +4,9 @@ unreachablechar.scala:4: warning: patterns after a variable pattern cannot match unreachablechar.scala:5: warning: unreachable code due to variable pattern on line 4 case 'f' => println("not stuff?"); ^ +unreachablechar.scala:5: warning: unreachable code + case 'f' => println("not stuff?"); + ^ error: No warnings can be incurred under -Xfatal-warnings. -two warnings found +three warnings found one error found |