| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
|
|
| |
avoid illegal forward references by moving synthetics to the beginning
of the statement-list. fixes #2489
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
added CanBuild type alias in package object scala.collection.generic
added breakout to scala.collection test for breakout
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Breaks down the hash function in BoxesRunTime by type so we can do as
much as possible at compile time. Documents various trouble points I've
identified with trying to get the hashCodes aligned. Test case exercises
the hashCode functions.
Deleted all the code associated with previous equality adventures. Don't
worry, I can put anything back if it turns out we have to change course
again, but for now it's noise.
Also, gives return types to the box and unbox methods which are added to
the primitive companions, so e.g. Int.box(5) now returns a j.l.Integer
instead of an Object.
|
|
|
|
|
|
| |
added overloaded hashes to Predef.
some small changes.
|
|
|
|
|
|
| |
Moved (non-regression) actor-receive-sender test to pending for bug
fixing.
|
|
|
|
|
| |
Fixed #2517
|
| |
|
|
|
|
|
|
| |
Fixed collections unit test (regression in ListBuffer.apply) and
serialization test.
|
|
|
|
|
| |
Updates check file for bug 2144 which output was modified by r19442.
|
|
|
|
|
|
| |
Tighter type checking rules for structural types that fix issues #967,
#1004, #1388, #1494, and #1906.
|
| |
|
|
|
|
|
|
| |
- Renames GenericRange to NumericRange
- Removes most @experimental annotations
|
|
|
|
|
|
| |
Moved disabled tests back into their original place. Expect 7 tests to
fail.
|
|
|
|
|
|
| |
Fixed initial variable binding for method parameters, that caused the
inliner to infer wrong types for tail recursive methods
|
| |
|
|
|
|
|
|
|
|
| |
Scala implementation of fancier hashCode algorithm. At the moment it
isn't used unless you supply -Yjenkins-hashCodes to scalac. Without the
flag, the supplied test case generates 12559 unique hashCodes among
90000 case class instances; with the flag it generates 89999.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
fixed #2500: refactoring collections so that a `collection.{Map|SortedMap|SortedSet}` can be built from the corresponding collection (thus, do not require the immutable one)
pulling up newBuilder method from Immutable*Factory to *Factory, and
inheriting *Factory in scala.collection companion objects, instead of
the Immutable*Factory this way, you can, e.g., build a collection.Map
from a collection.Map (instead of requiring an immutable.Map)
|
| |
|
|
|
|
|
| |
fixed problem with Vector.dropRight, added additional test case
|
| |
|
|
|
|
|
|
| |
fixed 2544, reimplemented SeqLike.indexWhere, segmentLength and
lengthCompare in terms of iterators instead of foreach and breaks
|
| |
|
| |
|
|
|
|
|
|
| |
Improves Enumeration to obtain names of values through reflection. This
addresses those parts of #2111 that we agreed on in the Scala meeting.
|
|
|
|
|
| |
Fixed #2494, plus some reorganization of swing imports
|
|
|
|
|
|
| |
fixed bug in Stream::flatMap (still optimised as it was needed for
correctness --> added regression tests for corresponding tickets)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Fix and test case for #2512, plus lots of time expended tuning HashSet
starting sizes and growth rate, with almost nothing to show for it (but
I did determine that "shadowed" is constructed identically something
like 10,000 times, so there is probably a cache to be had there.)
|
|
|
|
|
| |
Parser fix involving backquoted identifiers (#2514) plus test case.
|
| |
|
|
|
|
|
|
| |
The last patch to work around #1909 caught one brand of lifts but not
another. Better now and another test case.
|
|
|
|
|
|
|
| |
Tickets #1909 and #2508 involve code which compiles but then fails at
runtime due to invalid bytecode. This commit turns those into compile
time errors. Includes negative test case.
|
|
|
|
|
|
| |
fixes to check files and removed nonapplicable test case Tuple2 impl,
but commented out so that we can bootstrap whitespace...
|
|
|
|
|
|
| |
Added (a variation on) jorge ortiz's sortBy to SeqLike, added docs and
test case. Added map to Ordering.
|
|
|
|
|
|
|
|
| |
is supposed to exercise r19165, except that I discovered that no script
tests have been run since July 2008: r15658 says "remove
script tests for now - they seem to block in certain configurations."
|