From bdf13aaa1d535b7b941dc707b78f7ab5ddf8d04d Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 5 Jan 2010 16:44:32 +0000 Subject: Closes #2848. No review. --- src/compiler/scala/tools/nsc/ast/parser/Parsers.scala | 1 + 1 file changed, 1 insertion(+) (limited to 'src/compiler') diff --git a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala index a8118242df..a89f4f01c3 100644 --- a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala +++ b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala @@ -2165,6 +2165,7 @@ self => atPos(accept(THIS)) { newLineOptWhenFollowedBy(LBRACE) var t = Apply(Ident(nme.CONSTRUCTOR), argumentExprs()) + newLineOptWhenFollowedBy(LBRACE) while (in.token == LPAREN || in.token == LBRACE) { t = Apply(t, argumentExprs()) newLineOptWhenFollowedBy(LBRACE) -- cgit v1.2.3