From 2423ada8b32854f13e16bb62cf1f0a07cff6df7a Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Wed, 14 Dec 2016 18:04:57 +0100 Subject: Fix #1792: Allow newline in front of `{` when supporting procedure syntax. --- tests/pos-scala2/i1792.scala | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/pos-scala2/i1792.scala (limited to 'tests') diff --git a/tests/pos-scala2/i1792.scala b/tests/pos-scala2/i1792.scala new file mode 100644 index 000000000..49b3e6a34 --- /dev/null +++ b/tests/pos-scala2/i1792.scala @@ -0,0 +1,8 @@ +object Test { + +def foo(x: Int) +{ + x +} + +} -- cgit v1.2.3