summaryrefslogtreecommitdiff
path: root/test/files/run/sequenceComparisons.scala
Commit message (Collapse)AuthorAgeFilesLines
* Begone t1737...Hubert Plociniczak2011-11-021-20/+20
|
* Reversed the values of "is" and "is not" in rec...Paul Phillips2011-08-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Reversed the values of "is" and "is not" in recent for comprehension deprecation. DO NOT BLOW HATCH REPEAT DO NOT BLOW HATCH "Roger! Hatch blown." Events reveal it was all baby, no bathwater. It turns out that the specification is merely a document, not infallible holy writ as we had all previously believed. So it is not the ABSENCE of val in a for comprehension assignment which is deprecated, it is the PRESENCE of val. Summarizing again, more accurately perhaps: for (x <- 1 to 5 ; y = x) yield x+y // THAT's the one for (val x <- 1 to 5 ; y = x) yield x+y // fail for (val x <- 1 to 5 ; val y = x) yield x+y // fail for (x <- 1 to 5 ; val y = x) yield x+y // deprecated No review.
* Minimally integrated the semi-orphaned immutabl...Paul Phillips2009-12-211-1/+1
| | | | | | | Minimally integrated the semi-orphaned immutable.Stack into the collections hierarchy and enabled it in the sequence tests. Closes #2822. review by community.
* new doc comment generation, including some new ...Martin Odersky2009-12-071-4/+4
| | | | | | new doc comment generation, including some new style doc comments in collection classes.
* Fixed test cases to the new method names (index...Iulian Dragos2009-11-261-1/+1
| | | | | | Fixed test cases to the new method names (indexOfSeq -> indexOfSlice). See r19892
* built new starr and fixed test casesTiark Rompf2009-10-211-1/+1
|
* renamed Vector to IndexedSeqTiark Rompf2009-10-211-1/+1
|
* Sequence->SeqMartin Odersky2009-10-021-10/+10
|
* fixed headers/comments/svn props, made some pro...michelou2009-09-151-2/+2
| | | | | | fixed headers/comments/svn props, made some progress with serializable classes
* Created plausibly sensible equals and hashCode ...Paul Phillips2009-09-091-2/+2
| | | | | | | | | | Created plausibly sensible equals and hashCode methods in collection.{ Set, Map, Sequence } and made sure that none of the derived collections is getting too excited about doing its own thing and in so doing either breaking equals/hashCode consistency or creating an asymmetric equals (or both.)
* Removed some identical code from the collection...Paul Phillips2009-07-181-7/+5
| | | | | | | Removed some identical code from the collections classes in hopes of finding some consistency in collections equality. Added more test cases to the sequenceComparisons test.
* A start on a more comprehensive test suite for ...Paul Phillips2009-07-171-0/+123
A start on a more comprehensive test suite for sequences. It performs 3600 different tests attempting to exercise the potentially buggy variations of startsWith, endsWith, indexOfSeq, and sameElements. And, a KMP implementation of indexOfSeq which in addition to being a lot faster for definite sized sequences, should give the wrong answer somewhat less frequently.