From 1f945242defb20f15edcffb996cab0e7064052dc Mon Sep 17 00:00:00 2001 From: Geoffrey Washburn Date: Mon, 4 Feb 2008 16:08:19 +0000 Subject: Added tests for #323. --- test/files/run/interpreter.check | 7 ++++++- test/files/run/interpreter.scala | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'test/files') diff --git a/test/files/run/interpreter.check b/test/files/run/interpreter.check index b07f69ea2e..4b31bc1445 100644 --- a/test/files/run/interpreter.check +++ b/test/files/run/interpreter.check @@ -171,4 +171,9 @@ scala> scala> | | You typed two blank lines. Starting a new command. scala> -scala> +scala> match: Int + +scala> x: Int = 1 + +scala> +scala> \ No newline at end of file diff --git a/test/files/run/interpreter.scala b/test/files/run/interpreter.scala index 9b270f380a..5ad9953857 100644 --- a/test/files/run/interpreter.scala +++ b/test/files/run/interpreter.scala @@ -107,6 +107,9 @@ there (1 + // give up early by typing two blank lines +// defining and using quoted names should work (ticket #323) +def `match` = 1 +val x = `match` .text -- cgit v1.2.3