aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/presuperContext.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/presuperContext.scala')
-rw-r--r--tests/untried/pos/presuperContext.scala7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/untried/pos/presuperContext.scala b/tests/untried/pos/presuperContext.scala
index 437765598..ae677c08e 100644
--- a/tests/untried/pos/presuperContext.scala
+++ b/tests/untried/pos/presuperContext.scala
@@ -1,5 +1,10 @@
class A {
- class C extends { val x: A = this } with AnyRef
+ class C extends AnyRef {
+// TODO NEEDS MANUAL CHANGE (early initializers)
+// BEGIN copied early initializers
+val x: A = this
+// END copied early initializers
+}
}
class B(x: Int)