summaryrefslogtreecommitdiff
path: root/test/checker-tests/fail6.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/checker-tests/fail6.scala')
-rw-r--r--test/checker-tests/fail6.scala12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/checker-tests/fail6.scala b/test/checker-tests/fail6.scala
index c59be55c4e..a43bada400 100644
--- a/test/checker-tests/fail6.scala
+++ b/test/checker-tests/fail6.scala
@@ -3,13 +3,13 @@
// Apply( // sym=method while$1, tpe=Unit, tpe.sym=class Unit, tpe.sym.owner=package scala
// Ident("while$1"), // sym=method while$1, sym.owner=method f, sym.tpe=()Unit, tpe=()Unit, tpe.sym=<none>,
class Erasure {
- def f(b: Boolean) = {
+ def f(b: Boolean) = {
if (b) "abc"
else while (b) ()
}
}
-// % work/check all -Xprint:erasure work/fail6.scala
+// % work/check all -Xprint:erasure work/fail6.scala
// TypeStack init: REFERENCE(type AnyRef)
// [Not checkable: parser]
// [Not checkable: namer]
@@ -47,9 +47,9 @@ class Erasure {
// }
// }
// }
-//
+//
// [Now checking: erasure]
-// work/fail6.scala:4: error:
+// work/fail6.scala:4: error:
// **** ERROR DURING INTERNAL CHECKING ****
// type mismatch;
// found : scala.runtime.BoxedUnit
@@ -57,5 +57,5 @@ class Erasure {
// else while (b) ()
// ^
// one error found
-//
-//
+//
+//