| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
fixed headers/comments/svn props, made some progress with serializable
classes
|
|
|
|
|
|
| |
Deprecated case classes inheriting from other case classes, and updated
all the tests which did so.
|
| |
|
|
|
|
|
|
| |
Massive redesign so that: scala> "hi" == "hi".reverse.reverse gives: res0: Boolean = true
Preparing to do similar things to arrays.
|
|
|
|
|
|
|
|
|
|
| |
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.)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
added manifests to most parts of standard library which deal with
arrays. One test is temporarily disabled, as it shows a deep problem
with multi-dimensional arrays (which was present all along).
|
| |
|
|
|
|
|
| |
Flexible yet simple/clean API for grouped and sliding.
|
|
|
|
|
| |
Reverted r18344 as it is interacting badly with package objects.
|
| |
|
| |
|
|
|
|
|
| |
Polished up some disabled tests and returned them to files.
|
| |
|
| |
|
|
|
|
|
|
| |
Re-enabled forwarders and moved the formerly failing tests for #363 and
#1745 out of pending.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Test case for bug #1466, which was mysteriously fixed at some point in
the last nine months.
|
| |
|
|
|
|
|
|
|
| |
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 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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Implementation and test cases for canEqual method in case classes. Now
the autogenerated equality method inquires with the argument as to
whether other.canEqual(this) before returning true.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
one long-standing bug which actually had a test case testing its
bugginess (which is to say, when I fixed the bug, the test case failed.)
This:
- def doMatch4(xs:Seq[Char]) = xs match {
- case Seq(x, y, _*) => x::y::Nil
- case Seq(x, y, z, w) => List(z,w) // redundant!
- }
...should never have compiled - which must have been recognized
on some level given the "redundant!" comment, but it never made
it into neg/.
|
|
|
|
|
|
| |
Implemented proposed strategy for #1503 and moved test case out of
pending (and fixed it so it didn't throw a match error.)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Creating case classes in preference to passing around a variety of
inscrutable tuples. And, fix and test case for #1697. There remain
serious extractor issues which I hope to have fully diagnosed in the
near future.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Fixed the fact that reflective calls had logical and arithmetic right
shift swapped. Modified test case to use a value that doesn't have
identical output for both shifts. Grumbled to self that test cases which
fail to test are markedly worse than no tests at all.
|
|
|
|
|
| |
named arguments only at top level in () parameters.
|
|
|
|
|
|
| |
improvements to names / defaults (implicits, type of defaults, #2064,
...)
|
|
|
|
|
|
| |
allow using named / default arguments in self- and super constructor
calls. fixes #2050 and #2052.
|
|
|
|
|
| |
- Symbol.annotations now first calls .initialize
|
| |
|
| |
|
|
|
|
|
|
| |
named argument disallowed when assignment expression would typecheck.
minor fixe to names / defaults.
|
| |
|
| |
|
|
|
|
|
|
|
| |
- MethodTypes now have (params: List[Symbol])
- "copy"-methods for case classes
- the "copy" object in the compiler is now called "treeCopy"
|
| |
|