| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
fixed #2546 using patch from dlwh -- please review!
|
|
|
|
|
|
|
| |
The preferred way to convert between primitives is to call .toInt etc,
but there were lots of casts for historical reasons. This patch remedies
that.
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
Fixed one of the issues in the BuildManager mentioned in #2590, where
adding a missing reference wasn't causing compilation of the dependent
files. Still, the solution to the whole ticket requires some changes to
the scala plugin itself.
|
|
|
|
|
|
| |
Fixed issue #451 by updating structural method dispatch logic to work
with new arrays.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
attempt to fix build -- can't build on my old macbook, so flying blind :-/
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
use scalacfork for strap build, should make windows build work. Rename
RichWindow so that ant does not always re-compile it.
|
|
|
|
|
|
| |
Made Benchmarks use standard output instead of requiring a file name on
the command line
|
|
|
|
|
| |
Fixed the optimizer for inlining correctly ScalaRunTime.inlinedEquals
|
| |
|
|
|
|
|
| |
Equality checks go to ScalaRunTime.inlinedEquals when -optimise is on
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Fixed #2517
|
| |
|
|
|
|
|
| |
Some @experimental cleanups/removals I missed on the last pass.
|
|
|
|
|
|
| |
Fixed collections unit test (regression in ListBuffer.apply) and
serialization test.
|
| |
|
|
|
|
|
|
| |
Fixes issue #1006 by marking structural method caches as `volatile` (and
the array of parameter types as `final`).
|
|
|
|
|
|
| |
Tighter type checking rules for structural types that fix issues #967,
#1004, #1388, #1494, and #1906.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Broke up foldBinOp logic a little bit looking to reduce the likelihood
of inliner pathology. This also knocked about two minutes off my time to
build optimised locker.
|
|
|
|
|
|
| |
Sped up build times by three minutes with a brilliant optimization I
like to call "comment out offending code."
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Fixed initial variable binding for method parameters, that caused the
inliner to infer wrong types for tail recursive methods
|
| |
|