summaryrefslogtreecommitdiff
path: root/test/pos/IntSet.scala
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-02-21 15:19:54 +0000
committerpaltherr <paltherr@epfl.ch>2003-02-21 15:19:54 +0000
commit4c58302ea372416da3269c1088be444fc886865c (patch)
tree442076a3f1d37eeb7234a5be058f255dfec691da /test/pos/IntSet.scala
parent89161f84fd57d3b72edf628f744444f13cc9ebb8 (diff)
downloadscala-4c58302ea372416da3269c1088be444fc886865c.tar.gz
scala-4c58302ea372416da3269c1088be444fc886865c.tar.bz2
scala-4c58302ea372416da3269c1088be444fc886865c.zip
- Changed True to Boolean.True
Diffstat (limited to 'test/pos/IntSet.scala')
-rw-r--r--test/pos/IntSet.scala4
1 files changed, 2 insertions, 2 deletions
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
+}