diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/Course-2002-09.scala | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |