From 7e1a139a3545280101fb122e16028c60a9cfee01 Mon Sep 17 00:00:00 2001 From: michelou Date: Fri, 18 Jan 2008 20:50:06 +0000 Subject: removed more warnings --- test/files/run/tcpoly_parseridioms.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/files/run/tcpoly_parseridioms.scala') diff --git a/test/files/run/tcpoly_parseridioms.scala b/test/files/run/tcpoly_parseridioms.scala index 0e2512f5bc..6d7a0be0c2 100644 --- a/test/files/run/tcpoly_parseridioms.scala +++ b/test/files/run/tcpoly_parseridioms.scala @@ -1,5 +1,5 @@ trait Parsers { - type Input=List[char] + type Input = List[Char] sealed class ParseResult[+t](val next: Input) case class Success[+t](override val next: Input, result: t) extends ParseResult[t](next) @@ -105,5 +105,5 @@ trait ParserIdioms extends Parsers with Idioms { } object Test extends ParserIdioms with Application { - Console.println(expr(List.fromString("12"))) + println(expr("12".toList)) } -- cgit v1.2.3