diff options
author | paltherr <paltherr@epfl.ch> | 2003-02-21 15:19:54 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-02-21 15:19:54 +0000 |
commit | 4c58302ea372416da3269c1088be444fc886865c (patch) | |
tree | 442076a3f1d37eeb7234a5be058f255dfec691da | |
parent | 89161f84fd57d3b72edf628f744444f13cc9ebb8 (diff) | |
download | scala-4c58302ea372416da3269c1088be444fc886865c.tar.gz scala-4c58302ea372416da3269c1088be444fc886865c.tar.bz2 scala-4c58302ea372416da3269c1088be444fc886865c.zip |
- Changed True to Boolean.True
-rw-r--r-- | test/files/pos/IntSet.scala | 4 | ||||
-rw-r--r-- | test/pos/IntSet.scala | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/files/pos/IntSet.scala b/test/files/pos/IntSet.scala index 850a5cb923..d18546000c 100644 --- a/test/files/pos/IntSet.scala +++ b/test/files/pos/IntSet.scala @@ -14,7 +14,7 @@ class NonEmpty(elem: Int, left: IntSet, right: IntSet) extends IntSet { def contains(x: Int): Boolean = if (x < elem) left contains x else if (x > elem) right contains x - else True; + else Boolean.True; def incl(x: Int): IntSet = if (x < elem) new NonEmpty(elem, left incl x, right) else if (x > elem) new NonEmpty(elem, left, right incl x) @@ -33,4 +33,4 @@ module test { x foreach java.lang.System.out.println; y foreach java.lang.System.out.println; } -}
\ No newline at end of file +} diff --git a/test/pos/IntSet.scala b/test/pos/IntSet.scala index 850a5cb923..d18546000c 100644 --- a/test/pos/IntSet.scala +++ b/test/pos/IntSet.scala @@ -14,7 +14,7 @@ class NonEmpty(elem: Int, left: IntSet, right: IntSet) extends IntSet { def contains(x: Int): Boolean = if (x < elem) left contains x else if (x > elem) right contains x - else True; + else Boolean.True; def incl(x: Int): IntSet = if (x < elem) new NonEmpty(elem, left incl x, right) else if (x > elem) new NonEmpty(elem, left, right incl x) @@ -33,4 +33,4 @@ module test { x foreach java.lang.System.out.println; y foreach java.lang.System.out.println; } -}
\ No newline at end of file +} |