| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
Added (a variation on) jorge ortiz's sortBy to SeqLike, added docs and
test case. Added map to Ordering.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Implementation of martin's suggested fix for #1503.
|
|
|
|
|
|
| |
Another bunch of work on Numeric, Range, GenericRange, BigDecimal, and a
pile of test cases for various aspects of GenericRange.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
reverted immutable.Vector because it gave random build errors on my
machine. Fixed various tickets, updated test and check files.
|
|
|
|
|
|
|
| |
Looked through the .disabled tests which are still under files (as
opposed to those moved to disabled.) Brought some back to life, put a
stake through the heart of others, left two as they were.
|
|
|
|
|
|
| |
Moved a pile of passing tests from pending to files, fixed some untesty
tests, and will now close the associated tickets.
|
| |
|
|
|
|
|
|
| |
Test cases for some tickets fixed by recent array and implicit activity:
#1038, #1005, #1272.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fixed #2316: No longer cache entire SearchResult when looking for implicits in the parts of the expected type. (patch by retronym -- see ticket)
A SearchResult may contain symbols local to the scope of the search that
were used as implicit parameters, so they are not safely cacheable. The
fix for #2101 does not suffice. That patch avoided bound symbols being
duplicated, but the problem is much worse.
The implicits for an expected type depend on more than just that type,
so we cannot cache them using the expected type as a key.
The neg/t2316 test illustrates this: T1 may provide two implicits, one
requires an implicit T2, another an implicit T3. If an implicit T1
is first required when only a T2 is in scope, the SearchResult will
describe the corresponding implicit. Now, if we enter an implicit value
of type T3 into scope, the search should fail (it is ambiguous), but the
cache does not take this new fact into account.
The patch replaces the erroneous aggressive caching with a more
conservative version that only caches ImplicitInfo's.
|
|
|
|
|
|
|
|
| |
Lazy fields null out fields that are used only in their initializer.
When the lazy value is forced, it will null out all private fields that
are used only by the current lazy value. This should reduce memory
leaks, see #720
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
[no content change] Fixed all SVN properties: mimes, EOL, executable. Id
expansion is consistently enabled for Scala/Java/C# sources in 'src/'
and consistently disabled and removed from everywhere else: there should
not be any dead Id tags anymore.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.)
|