diff options
Diffstat (limited to 'tests/untried/pos/t4842.scala')
-rw-r--r-- | tests/untried/pos/t4842.scala | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/untried/pos/t4842.scala b/tests/untried/pos/t4842.scala index 17ff68483..24a71294d 100644 --- a/tests/untried/pos/t4842.scala +++ b/tests/untried/pos/t4842.scala @@ -13,14 +13,14 @@ class Blerg (x: AnyRef) { class Outer { - class Inner (x: AnyRef) { - def this() = { - this(new { class Bar { println(Bar.this); new { println(Bar.this) } }; new Bar } ) // okay - } + class Inner (x: AnyRef) { + def this() = { + this(new { class Bar { println(Bar.this); new { println(Bar.this) } }; new Bar } ) // okay + } - def this(x: Boolean) = { - this(new { println(Outer.this) } ) // okay - } - } + def this(x: Boolean) = { + this(new { println(Outer.this) } ) // okay + } + } } |