diff options
author | Burak Emir <emir@epfl.ch> | 2008-01-04 22:28:43 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2008-01-04 22:28:43 +0000 |
commit | 73d091062d346528337bc22badbca932714575cc (patch) | |
tree | 90cf949c82827e2afcf6c3462d6ae17e4993e0ea /test/files/neg | |
parent | 0fd867b5edf52ba97db80014ba041c901b12a98d (diff) | |
download | scala-73d091062d346528337bc22badbca932714575cc.tar.gz scala-73d091062d346528337bc22badbca932714575cc.tar.bz2 scala-73d091062d346528337bc22badbca932714575cc.zip |
fixed t335
Diffstat (limited to 'test/files/neg')
-rw-r--r-- | test/files/neg/patmatexhaust.check | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/files/neg/patmatexhaust.check b/test/files/neg/patmatexhaust.check index 7cdf43c8ca..2011e4afaf 100644 --- a/test/files/neg/patmatexhaust.check +++ b/test/files/neg/patmatexhaust.check @@ -20,8 +20,12 @@ missing combination Gp def ma4(x:Deep) = x match { // missing cases: Gu, Gp ^ +patmatexhaust.scala:53: warning: match is not exhaustive! + + def ma5(x:Deep) = x match { // Gp + ^ patmatexhaust.scala:70: error: unreachable code case 1 => ^ -four warnings found +5 warnings found one error found |