diff options
Diffstat (limited to 'test/files/run/checked.scala')
-rw-r--r-- | test/files/run/checked.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/checked.scala b/test/files/run/checked.scala index e4db9c0916..06bc0c05e5 100644 --- a/test/files/run/checked.scala +++ b/test/files/run/checked.scala @@ -23,9 +23,9 @@ trait T { // Should not throw class D extends B with T { val sum = x + y + z + b1 + b2 + t1 + t2 - override def toString = + override def toString = "sum = " + sum - + } abstract class NeedsXEarly { @@ -91,7 +91,7 @@ class TestInterference extends { object Test extends App { - + def shouldThrow(t: => Unit) = try { t println("[FAIL]: No UFE thrown") |