| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Contents of scala.Math moved into scala.math package object, and
scala.Math deprecated. Also a couple janitorial cleanups.
|
| |
|
|
|
|
|
| |
Fixed #2848 and #2630; Improvements in equality speed
|
|
|
|
|
|
|
| |
fixing a long-standing bug in fjbg and recompiling fjbg.jar, which had
the side effect of revealing that the current fjbg jar had never been
recompiled with target 1.5, so now it's smaller and (I imagine) faster.
|
|
|
|
|
|
|
|
| |
Bringing BigInt and BigDecimal into the club of things which can be
equal to one another and which will have the same hashCode. Fixed
some old and some new bugs associated with equality. Note: not fully
optimized.
|
|
|
|
|
|
| |
Moved those bits of Predef into the scala package object which would go
without a fight.
|
|
|
|
|
|
| |
Removed everything deprecated in 2.7.3 or earlier except the lower case
primitive type aliases, plus associated fixes.
|
|
|
|
|
|
| |
added hooks so that BigInt, BigDecimal can do the right thign for
equality.
|
| |
|
|
|
|
|
| |
fixed #2546 using patch from dlwh -- please review!
|
|
|
|
|
|
| |
Promotes reverseMap out of List into SeqLike as discussed on
scala-internals.
|
|
|
|
|
| |
Queue - several bugs fixed, particular one not updating the last0 field of MutableList.
|
|
|
|
|
| |
In dequeueAll there was a bug checking if collection is nonEmpty instead of isEmpty - fixed.
|
|
|
|
|
|
| |
Changed the ctor of the LinkedList so that it ignores null if given as
the next list.
|
| |
|
| |
|
|
|
|
|
|
| |
added CanBuild type alias in package object scala.collection.generic
added breakout to scala.collection test for breakout
|
| |
|
|
|
|
|
| |
tentative re-implementation of LinkedList and subclasses
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
isDefinedAt should /not/ be in Function1
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fixed bug in implicit resolution that only manifested itself when
multiple implicit arguments needed to be resolved and they were intended
to instantiate type parameters
two problems:
- type parameters that could not be inferred where removed from undetparams erroneously
- the successfully inferred parameters were not propagated to the the implicit arguments on the right (implicit resolution searches for implicit arguments from left to right, fixing type parameters in the process)
this should give the green light for the addition of Zipped to TupleN
|
|
|
|
|
|
| |
added overloaded hashes to Predef.
some small changes.
|
|
|
|
|
|
|
|
| |
code that mixes in PartialFunction now have to
define isDefinedAt as override.
Fixes #2225.
|
|
|
|
|
|
| |
Made Benchmarks use standard output instead of requiring a file name on
the command line
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Some @experimental cleanups/removals I missed on the last pass.
|
|
|
|
|
|
| |
Fixed collections unit test (regression in ListBuffer.apply) and
serialization test.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Moved a bunch of classes into the newly created scala.math package.
Created compatibility aliases in the scala package object.
|
| |
|
|
|
|
|
|
| |
- Renames GenericRange to NumericRange
- Removes most @experimental annotations
|
| |
|
|
|
|
|
| |
Replaced immutable.Queue.apply, which should fix the build.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Some tabs I unwittingly let creep in are now spaces.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Deleted Zero, or "Nothing ventured, Nothing gained."
|
| |
|
| |
|
|
|
|
|
| |
missed some compile errors because I didn't do a full recompile...
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|