From 8d017c0f1e3478f2736a8df624492b73190b0976 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Tue, 10 Feb 2009 17:51:32 +0000 Subject: 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. --- test/files/pos/bug756.scala | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/files/pos/bug756.scala (limited to 'test/files/pos') 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 -- cgit v1.2.3