| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
[scaladoc] Closes #3125: inherited use cases have wrong owner (and
inheritance-based filter tools do not work). Review by odersky.
|
| |
|
|
|
|
|
|
| |
Disables NotNull checking unless -Ynotnull is given. Closes #3568,
review by odersky.
|
|
|
|
|
| |
No review.
|
|
|
|
|
|
| |
[scaladoc] New display mode for members: ordered by inheritance class.
Review by malayeri.
|
|
|
|
|
|
| |
[scaladoc] Slightly more robust treatment of "code" HTML elements in
Scaladoc comments. No review.
|
| |
|
|
|
|
|
| |
more closely approximate fixedness. Review by dragos.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Made getters treated more like private members when debating whether to
inline. Closes #3420, review by dragos.
|
| |
|
| |
|
|
|
|
|
|
| |
Further improved combine for hash tries, cutting of another 30ms (160
downto 130). Review by rompf.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Partial fix for #2296: instead of VerifyError we issue a compile-time
error (implementation restriction). To properly generate accessors in
traits we need to move most (all?) logic related to protected accessors
to phase mixin, use abstract accessors all the way up to mixin, and
generate the code in the mixin class. In other words, exactly what is
done for super accessors right now. Review by extempore.
|
|
|
|
|
| |
Continued working on hash trie map combine - work in progress. No review yet.
|
| |
|
|
|
|
|
|
| |
is now guaranteed to be initialized at most once, even when accessed
from different threads. Closes #3007, review by odersky.
|
|
|
|
|
|
| |
compile because the specialized variants of apply were not implemented
as well. Fixed by extending runtime.AbstractFunction0 instead.
|
|
|
|
|
|
| |
Under test/benchmarks there is a `bench` script to run benchmarks - it can be invoked after running building the library.
Review by rompf.
|
|
|
|
|
|
|
| |
Put in some long overdue soft padding around repl completion so when it
pokes around the compiler in a way which surprises something, we don't
lose the repl. Closes #3548, no review.
|
| |
|
|
|
|
|
|
| |
Fixed a regrettable oversight which was leaving temp files stacking up
in templand, and a partial fix for #3519. No review.
|
| |
|
|
|
|
|
|
|
|
| |
Taking another shot at negative constants as annotation arguments since
r22175 didn't quite get there. I call into the constant folder with the
unfolded tree at the last point before it's going to fail the compile
anyway. Closes #3521, review by odersky.
|
|
|
|
|
|
|
|
| |
Most of the iterate implementations were calling the given function one
too many times, leading to tragic failure if the function could not
handle this (such as repeatedly applying tail.) Closes #3540, review by
prokopec.
|
|
|
|
|
|
| |
Made scripts wait for all non-daemon threads to exit before calling
System.exit. Closes #1955, #2006, #3408. Review by community.
|
| |
|
|
|
|
|
| |
sabbus also edited to add parallel collections to the library jar - review by phaller
|
|
|
|
|
|
| |
Fixed problem discovered by Paul that views do not support a filter in
for expressions. review by extempore.
|
| |
|
| |
|
|
|
|
|
| |
Solved problem that -3.0 is not recognized as a constant in annotations
|
|
|
|
|
|
|
| |
Patch from Jason Zaugg so singleton types aren't accidentally deprived
of a fourth try at satisfaction. Already reviewed by odersky, so no
review.
|
|
|
|
|
|
|
|
| |
but in the interest of not breaking backwards compatibility, the
JSON.parse method has been marked deprecated for now.
Unit tests have been fixed so that this won't break the build this time.
|
|
|
|
|
|
|
| |
Tracked down why the jvm/natives.scala fails for me and apparently not
anyone else. Rebuilt libnatives.jnlib to accomodate x86-64, and it seems
to pass. No review.
|
|
|
|
|
|
|
| |
ran across some tortured logic trying to accomodate the long abandoned
idea of having 5 != 5L, so simplified the contains method. Closes #3518,
no review.
|
|
|
|
|
|
|
| |
Burned by a last minute adjustment, I lost the downward counting
direction. It is a seriously fiddly process to adjust Range and I don't
recommend it to anyone. Closes #3529 over again. Review by prokopec.
|
|
|
|
|
|
|
|
|
|
|
|
| |
scala> (1 to 1 drop 1) == (1 to 1)
res0: Boolean = true
It was introduced in r21349 which was to fix #2535, but led to #3529.
I humbly suggest we can't afford to introduce bugs of this severity in
the pursuit of corner cases such as Ranges which use Int.MaxValue as a
boundary. And looking at the patch I find the "after" code a lot harder
to follow. Closes #3529. Review by prokopec.
|
|
|
|
|
|
|
| |
Reverts r21973, the patch I characterized as "hacky but no-risk" in my
commit message, for causing #3480. Closes #3480. I'd say no review but
who can trust a guy who throws around "no risk" with such abandon.
|
|
|
|
|
|
|
| |
Sorted out some buck passing among TraversableOnce and its subclasses
about how exactly one creates a Stream. This is a continuation of r22115
for #3516. Review by prokopec.
|
|
|
|
|
|
| |
Codec changes in scala.tools.nsc.io corresponding to those made in
r22154. No review.
|
|
|
|
|
|
|
|
|
| |
Restored Source factories to a form source compatible with 2.7.7. No
default implicit arguments, now low priority saves the day with a low
priority codec which io.Codec offers as last resort. Dropped the line
separator argument to getLines and made it act in a separator agnostic
way (any of \r\n, \r, or \n is a separator.) Review by community.
|
|
|
|
|
| |
Closes #3472, final specialized methods give VerifyErrors.
|
| |
|