aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t3986.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t3986.scala')
-rw-r--r--tests/untried/pos/t3986.scala7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/untried/pos/t3986.scala b/tests/untried/pos/t3986.scala
index 635b00b1c..ea6c64fde 100644
--- a/tests/untried/pos/t3986.scala
+++ b/tests/untried/pos/t3986.scala
@@ -1,5 +1,10 @@
object Test {
def main(args: Array[String]): Unit = {
- new { val x = "abc" } with AnyRef { }
+ new AnyRef {
+// TODO NEEDS MANUAL CHANGE (early initializers)
+// BEGIN copied early initializers
+val x = "abc"
+// END copied early initializers
+ }
}
}