From 7320ca34aad20a1c47715d265a85da7274b0eaf4 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 2 Sep 2004 16:19:06 +0000 Subject: *** empty log message *** --- test/files/run/Course-2002-13.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files/run/Course-2002-13.scala') diff --git a/test/files/run/Course-2002-13.scala b/test/files/run/Course-2002-13.scala index 022bb77ac5..cd9360fb97 100644 --- a/test/files/run/Course-2002-13.scala +++ b/test/files/run/Course-2002-13.scala @@ -223,7 +223,7 @@ class Parser(s: String) { def syntaxError(msg: String): Unit = error(msg + ", but " + token + " found"); - def rep[a](def p: a): List[a] = { + def rep[a](p: => a): List[a] = { val t = p; if (token == ",") { token = it.next; t :: rep(p) } else List(t) } -- cgit v1.2.3