summaryrefslogtreecommitdiff
path: root/test/files/pos/bug756.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-02-10 17:51:32 +0000
committerPaul Phillips <paulp@improving.org>2009-02-10 17:51:32 +0000
commit8d017c0f1e3478f2736a8df624492b73190b0976 (patch)
tree53576dda6521a9c96573f983e00dcd4ab4977adc /test/files/pos/bug756.scala
parent7681434a9278f50b673880e9a2ede4c1d57a679d (diff)
downloadscala-8d017c0f1e3478f2736a8df624492b73190b0976.tar.gz
scala-8d017c0f1e3478f2736a8df624492b73190b0976.tar.bz2
scala-8d017c0f1e3478f2736a8df624492b73190b0976.zip
Removes underscore from the list of characters ...
Removes underscore from the list of characters used during semicolon inference which it believes cannot start a statement on a new line, fixing bug #756; adds 1 test case, updates 1.
Diffstat (limited to 'test/files/pos/bug756.scala')
-rw-r--r--test/files/pos/bug756.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/bug756.scala b/test/files/pos/bug756.scala
new file mode 100644
index 0000000000..09735695f8
--- /dev/null
+++ b/test/files/pos/bug756.scala
@@ -0,0 +1,6 @@
+object test {
+ for {
+ n <- Some(42)
+ _ <- Some(24)
+ } yield n
+} \ No newline at end of file