| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
fixed #2421: checkBounds in typedImplicit0 to filter out implicit
searchresults that result in nonsenical type instantiations
|
| |
|
| |
|
|
|
|
|
|
| |
Test cases for some tickets fixed by recent array and implicit activity:
#1038, #1005, #1272.
|
|
|
|
|
| |
Reverted the BigDecimal implicits added for ticket #1813.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Fix and tests for positions issues with context/view bounds and
multiple definitions; extended the ranges for defns/decls to cover
their introducing keywords; removed an unused IDE hook; some whitespace
cleanup.
|
| |
|
|
|
|
|
|
|
|
| |
don't expand type aliases that take type arguments in
typedTypeConstructor, as that bypasses refchecks have to expand type
alias without type arguments, as AnyRef must disappear (problem with
cycles during bootstrap)
|
|
|
|
|
|
| |
there were some issues with heap pressure that made the compile take
incredibly long, these were solved by increasing the max allowed heap
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
improved annotations copying (documentation, moved meta-annotations,
added tests)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
| |
More accumulated XML work, including removing some bits which were
deprecated long ago or are visibly abandoned. Hopefully this will be the
last XML patch for a while.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Introduced actors package object to deprecate a number of
classes. Made ForkJoinScheduler more configurable and let it read
ThreadPoolConfig. Clean-ups in TerminationMonitor and ActorGC. Removed
DefaultExecutorScheduler. Made DelegatingScheduler and ExecutorScheduler
private. Deprecated MessageQueue and MessageQueueElement, so that we can
later make them private. Deprecated a number of methods in IScheduler.
Tightened access modifiers in Reactor.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
[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.
|
| |
|
| |
|
|
|
|
|
| |
Taking a stab at the cause of some nightly failures.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Rather surprisingly, after all the commotion about 2.7.6 and the pickler
fix, there was still no test for the corresponding ticket(s). Now added.
|
| |
|
|
|
|
|
|
|
| |
Not sure why my jars are being viewed somewhere along the way as if
textual data, and this is apparently causing breakage some places. One
more try at uploading a jar.
|
|
|
|
|
|
|
| |
An enhanced scalacheck with new powers (including arbUnit, for all your
arbitrary Unit needs) and some tests for recent Array-related crashers,
including test case for the now working #2299.
|
|
|
|
|
|
|
| |
Added some more scalacheck tests to list, incidentally inspiring
millions of commit log readers to say out loud "hey, I could be writing
tests like those!"
|
|
|
|
|
|
| |
The first working scalacheck test! Now Arbitrary is working for us
instead of our nemesis Capt. Entropy.
|
| |
|
|
|
|
|
|
| |
fixed headers/comments/svn props, made some progress with serializable
classes
|
|
|
|
|
|
|
| |
Made canEqual abstract in Product and only inserted into case classes if
no concrete implementation is inherited. Restored the disabled canEquals
usages in collections.
|
|
|
|
|
|
| |
Deprecated case classes inheriting from other case classes, and updated
all the tests which did so.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed #2201 (slight rewrite of paulp's patch at
http://github.com/paulp/scala/commit/24419959b4d6c93716c216bbf276948a830
4b4e6)
ImplicitSearch::cacheResult now clones symbols that represent bound
variables (more specifically, parameters of anonymous functions that
are used as implicit values) to ensure that different bound variables
are represented by different symbols (otherwise lambda lifting gets
confused).
updated check file for bug692: error-reporting got more complete because
TypeRef::transform has been relaxed slightly
|
| |
|