diff options
author | paltherr <paltherr@epfl.ch> | 2003-03-18 13:14:45 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-03-18 13:14:45 +0000 |
commit | 374fe5428200c92a0636a0266d112b60af16e9cf (patch) | |
tree | 20868b2689b9783e6111ebb927747448399cdd90 /test/files/pos | |
parent | 890f4fc1b3bb8083b1003d37860bb8262f7a846e (diff) | |
download | scala-374fe5428200c92a0636a0266d112b60af16e9cf.tar.gz scala-374fe5428200c92a0636a0266d112b60af16e9cf.tar.bz2 scala-374fe5428200c92a0636a0266d112b60af16e9cf.zip |
- Removed True & False from Predef
- Updated all scala files to use true & false
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/List1.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/pos/List1.scala b/test/files/pos/List1.scala index a6d4e78f8c..fcc506bccc 100644 --- a/test/files/pos/List1.scala +++ b/test/files/pos/List1.scala @@ -8,13 +8,13 @@ module lists { } def Nil[a] = new List[a] { - def isEmpty: Boolean = True; + def isEmpty: Boolean = true; def head = error[a]("head of Nil"); def tail = error[List[a]]("tail of Nil"); } def Cons[a](x: a, xs: List[a]): List[a] = new List[a] { - def isEmpty = Boolean.False; + def isEmpty = false; def head = x; def tail = xs; } @@ -30,7 +30,7 @@ module lists { } class IntList() extends List[Int] { - def isEmpty: Boolean = False; + def isEmpty: Boolean = false; def head: Int = 1; def foo: List[Int] { def isEmpty: Boolean; def head: Int; def tail: List[Int] } = Nil[Int]; def tail0: List[Int] = foo.prepend(1).prepend(1+1); @@ -42,4 +42,4 @@ module lists { val il2 = il1.prepend(1).prepend(2); () } -}
\ No newline at end of file +} |