From 73d091062d346528337bc22badbca932714575cc Mon Sep 17 00:00:00 2001 From: Burak Emir Date: Fri, 4 Jan 2008 22:28:43 +0000 Subject: fixed t335 --- test/files/run/patmatnew.check | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'test/files/run/patmatnew.check') 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 -- cgit v1.2.3