diff options
author | michelou <michelou@epfl.ch> | 2008-01-18 20:50:06 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2008-01-18 20:50:06 +0000 |
commit | 7e1a139a3545280101fb122e16028c60a9cfee01 (patch) | |
tree | d93ef895ef930db4c0c6be60d20dba893f1b091e /test/files/run/tcpoly_parseridioms.scala | |
parent | 456729b845c3360f8d7b100b774b7432d2e4ed2f (diff) | |
download | scala-7e1a139a3545280101fb122e16028c60a9cfee01.tar.gz scala-7e1a139a3545280101fb122e16028c60a9cfee01.tar.bz2 scala-7e1a139a3545280101fb122e16028c60a9cfee01.zip |
removed more warnings
Diffstat (limited to 'test/files/run/tcpoly_parseridioms.scala')
-rw-r--r-- | test/files/run/tcpoly_parseridioms.scala | 4 |
1 files changed, 2 insertions, 2 deletions
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)) } |