aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t6595.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t6595.scala')
-rw-r--r--tests/untried/pos/t6595.scala9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/untried/pos/t6595.scala b/tests/untried/pos/t6595.scala
index 437c0bcf0..82cca01c7 100644
--- a/tests/untried/pos/t6595.scala
+++ b/tests/untried/pos/t6595.scala
@@ -1,8 +1,11 @@
import scala.annotation.switch
-class Foo extends {
- final val b0 = 5
-} with AnyRef {
+class Foo extends AnyRef {
+// TODO NEEDS MANUAL CHANGE (early initializers)
+// BEGIN copied early initializers
+final val b0 = 5
+// END copied early initializers
+
final val b1 = 10
// Using the @switch annotation as a means of testing that the