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.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/untried/pos/presuperContext.scala b/tests/untried/pos/presuperContext.scala
index cc3426307..437765598 100644
--- a/tests/untried/pos/presuperContext.scala
+++ b/tests/untried/pos/presuperContext.scala
@@ -6,7 +6,7 @@ class B(x: Int)
class D {
class C(x: Int) extends B({val test: D = this; x}) {
- def this() {
+ def this() = {
this({val test: D = this; 1})
}
}