diff options
author | odersky <odersky@gmail.com> | 2016-12-18 16:06:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-18 16:06:02 +0100 |
commit | 46bef7170fb48c0e48d0c5b38fcec29db64f7b13 (patch) | |
tree | f49198e7b34c93d63a235384be31e3458f95c002 /tests | |
parent | 7866bc2620098a7a692b68ac9c37e6d8a05ec774 (diff) | |
parent | 2423ada8b32854f13e16bb62cf1f0a07cff6df7a (diff) | |
download | dotty-46bef7170fb48c0e48d0c5b38fcec29db64f7b13.tar.gz dotty-46bef7170fb48c0e48d0c5b38fcec29db64f7b13.tar.bz2 dotty-46bef7170fb48c0e48d0c5b38fcec29db64f7b13.zip |
Merge pull request #1822 from dotty-staging/fix-#1792
Fix #1792: Allow newline in front of `{` for procedure syntax
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pos-scala2/i1792.scala | 8 |
1 files changed, 8 insertions, 0 deletions
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 +} + +} |