aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/needstypeearly.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/needstypeearly.scala')
-rw-r--r--tests/untried/pos/needstypeearly.scala7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/untried/pos/needstypeearly.scala b/tests/untried/pos/needstypeearly.scala
index a90c2575f..904b30cf8 100644
--- a/tests/untried/pos/needstypeearly.scala
+++ b/tests/untried/pos/needstypeearly.scala
@@ -1,4 +1,9 @@
abstract class NeedsXEarly {
val x: Int
}
-class Foo extends { val x = 1 } with NeedsXEarly
+class Foo extends NeedsXEarly {
+// TODO NEEDS MANUAL CHANGE (early initializers)
+// BEGIN copied early initializers
+val x = 1
+// END copied early initializers
+}