diff options
Diffstat (limited to 'test/files/run/patmatnew.check')
-rw-r--r-- | test/files/run/patmatnew.check | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/test/files/run/patmatnew.check b/test/files/run/patmatnew.check index 0747cddefb..a5ad998bc5 100644 --- a/test/files/run/patmatnew.check +++ b/test/files/run/patmatnew.check @@ -1,2 +1,14 @@ +patmatnew.scala:526: warning: match is not exhaustive! + + def go(tok : Token) = tok.matching match { + ^ +patmatnew.scala:595: warning: match is not exhaustive! + + (None:Option[Boolean]) match { + ^ +patmatnew.scala:815: warning: match is not exhaustive! + + (EmptyTree: Tree) match { + ^ warning: there were unchecked warnings; re-run with -unchecked for details -one warning found +four warnings found |