From 6084d2d948bb92c5153e0e4391c3bf80d2eafe38 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Tue, 25 Dec 2012 21:51:18 -0800 Subject: Removed old pattern matcher. --- test/files/jvm/interpreter.check | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'test/files/jvm/interpreter.check') diff --git a/test/files/jvm/interpreter.check b/test/files/jvm/interpreter.check index 6145b6c4d2..477096fb7e 100644 --- a/test/files/jvm/interpreter.check +++ b/test/files/jvm/interpreter.check @@ -357,10 +357,8 @@ defined class Term scala> def f(e: Exp) = e match { // non-exhaustive warning here case _:Fact => 3 } -:18: warning: match is not exhaustive! -missing combination Exp -missing combination Term - +:18: warning: match may not be exhaustive. +It would fail on the following inputs: Exp(), Term() def f(e: Exp) = e match { // non-exhaustive warning here ^ f: (e: Exp)Int -- cgit v1.2.3