| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
Split @milessabin HasRepr into IsTraversableOnce and IsTraversableLike t...
|
| |
| |
| |
| | |
class-ish things.
|
|\ \
| | |
| | | |
Renaming convertTo to to on GenTraversableOnce.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Issue/5846,4597,4027,4112
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Conflicts:
src/library/scala/collection/MapLike.scala
src/library/scala/collection/SortedMapLike.scala
|
| | | | | |
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Fixed race condition that was caused by Statistics pushTimer.
|
| | | | | |
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Fix SI-3326.
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The heart of the problem - we want to retain the ordering when
using `++` on sorted maps.
There are 2 `++` overloads - a generic one in traversables and
a map-specific one in `MapLike` - which knows about the ordering.
The problem here is that the expected return type for the expression
in which `++` appears drives the decision of the overload that needs
to be taken.
The `collection.SortedMap` does not have `++` overridden to return
`SortedMap`, but `immutable.Map` instead.
This is why `collection.SortedMap` used to resort to the generic
`TraversableLike.++` which knows nothing about the ordering.
To avoid `collection.SortedMap`s resort to the more generic `TraverableLike.++`,
we override the `MapLike.++` overload in `collection.SortedMap` to return
the proper type `SortedMap`.
|
|\ \ \ \
| | | | |
| | | | | |
Revert pull request #720 (CPS: enable return expressions in CPS code if ...
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
are in tail position)
Reverts commit 0ada0706746c9c603bf5bc8a0e6780e5783297cf.
Reverts commit 51c92f02229098d0b402a65a72267f7a17984022.
Reverts commit cdfbe8e39fbbec00c969cd74f117ae410b98b40b.
Reverts commit 796024c7429a03e974a7d8e1dc5c80b84f82467d.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix SI-5336.
|
| | |/ / /
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix SI-5986.
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Here we had an issue that RedBlack does not work the same way
for sets - which are not supposed to replace an element if
it is the same (wrt equals) and maps - which should replace
the corresponding values.
Adding an overwrite parameter which decides whether to overwrite
added keys if they are the same in the ordering.
Fix tests.
|
|\ \ \ \ \
| |_|_|_|/
|/| | | | |
Parallelize convertTo in parallel collection.
|
| | |/ /
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
Fix SI-5971.
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When using `AbstractTransformed` abstract inner class in views in order
to force generating bridges, one must take care to push the corresponding
collection trait (such as `Iterable` or `Seq`) as far as possible to the
left in the linearization order -- otherwise, overridden methods from these
traits can override the already overridden methods in view. This was the
case with `takeWhile`.
|
|\ \ \ \
| | | | |
| | | | | |
Don't just swallow `Throwables` while parsing bytecode. Print a warning
|
| | | | |
| | | | |
| | | | | |
This has caused hours of debugging, to find out that 'package X does not have a member Y' were caused by a `NullPointerException`.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
removes pre-M4 compatibility stubs for the IDE
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix range positions when applying anonymous classes.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
@odersky
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
patmat bugfixes and minor clean ups
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
one of the most boring sealed types imaginable, but a sealed type all the same
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
the fix in 0cffdf38d9 was brain dead (only looking at the first argument of the ctor, rather than the first argument list)
the reasoning was that we should not look at the MethodType of the constructor,
but at the argument types directly (since going through the method type would flip variance,
though the ctor arguments are conceptually in covariant positions here)
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
patmat:
- remove Var's unused 'checked' member; subsumed by 'domain'
- updated docs: no longer using isSuccess in __match
typers: clean up indentation, swap ifs to failure-first
|
|\ \ \ \ \ \ \ \
| |_|_|_|_|/ / /
|/| | | | | | | |
Closes SI-5148.
|
| | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Unfortunately we have to wrap transform to catch all
the MissingRequirementErrors exceptions (wrapped in TypeErrors).
This is because we force the info of the symbol in a couple of
places and we would have to catch all/some of them
(and remove the duplicates as well which really becomes messy).
Review by @axel22.
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
Updated Eclipse project files for `asm`
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
source folders.
|
|\| | | | | |
| | | | | | |
| | | | | | | |
Eclipse project files for library, reflect, fjbg & compiler
|
| | |_|/ / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
and removed the old ones.
To use these project files you need to define the Eclipse 'path variable'
SCALA_BASEDIR, in General/Workspace/Linked Resources.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
emit JVM InnerClasses attribute for bean info classes
|
| | | | | | | |
|
| |_|/ / / /
|/| | | | | |
|
|\ \ \ \ \ \
| | |_|_|_|/
| |/| | | | |
Statistics improvements and bug fixes.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Added compile-time option hotEnabled to Statistics that can be used to count very high frequency methods with 0 overhead for the disabled case. Fixed problem with weak maps that caused some timers to be discarded prematurely before they could be printed. Fixed problem with accouning for stacked timers.
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Minor followup on SI-4842: remove awkward condition. Review by @retronym
|
| | |/ / /
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
SI-5966 Fix eta expansion for repeated parameters with zero arguments.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Reworks part of e33901 / SI-5610, which was inserting an <empty> tree
as an argument in this case, which turns into a null in icode.
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
SI-5968 Eliminate spurious exhaustiveness warning with singleton types.
|