From fed30dbea8626d29c39d8f88d100b63ceb0173d6 Mon Sep 17 00:00:00 2001 From: Burak Emir Date: Sat, 30 Jun 2007 17:09:37 +0000 Subject: refined (fixed) incompleteness check --- test/files/run/Course-2002-09.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files') diff --git a/test/files/run/Course-2002-09.scala b/test/files/run/Course-2002-09.scala index afc3be7665..029796ab6d 100644 --- a/test/files/run/Course-2002-09.scala +++ b/test/files/run/Course-2002-09.scala @@ -62,7 +62,7 @@ class Squarer(square: Quantity, root: Quantity) extends Constraint { } class Eq(a: Quantity, b: Quantity) extends Constraint { - def newValue = Pair(a.getValue, b.getValue) match { + def newValue = (Pair(a.getValue, b.getValue): @unchecked) match { case Pair(Some(x), _ ) => b.setValue(x, this); case Pair(_ , Some(y)) => a.setValue(y, this); } -- cgit v1.2.3