| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Some philistine who thinks "binary compatibility" is a computer dating
site changed the names of public vals in Predef classes. I restored and
then deprecated them.
REVIEW BY MOORS.
|
|
|
|
|
| |
Avoid generating illegal combination of modifiers. No review.
|
|
|
|
|
|
|
| |
Distentangled platform specific code from loaders so that it becomes
possible to reset class symbols to their initial loader wihtout going
through an all-or-nothing recursive buildups of package scopes,.
|
|
|
|
|
|
|
|
|
|
|
| |
wraps the call to a bridged synthetic unapply(Seq) in a defensive
if-test:
if (x.isInstanceOf[expectedType])
real.unapply(x.asInstanceOf[expectedType]) else None
NOTE: the test is WRONG, but it has to be due to #1697/#2337 -- once those are fixed, this one should generate the expected output
|
|
|
|
|
|
|
| |
Check number of arguments before jumping to conclusion that a primitive
seeming structural call might really be primitive. Closes SI-4766, no
review.
|
|
|
|
|
|
|
| |
Misc cleanups associated with the previous commits: limiting overly
expanded types, fixing externally visible types for scaladoc, utilizing
abstract collection classes where possible, etc.
|
|
|
|
|
| |
Changes to library code outside the collections.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit and the two subsequent commits were contributed by:
Todd Vierling <tv@duh.org>.
I combined some commits and mangled his commit messages, but all the
credit is his. This pursues the same approach to classfile reduction
seen in r19989 when AbstractFunctionN was introduced, but applies it to
the collections. Thanks to -Xlint it's easy to verify that the private
types don't escape.
Design considerations as articulated by Todd:
* Don't necessarily create concrete types for _everything_. Where a
subtrait only provides a few additional methods, don't bother; instead,
use the supertrait's concrete class and retain the "with". For example,
"extends AbstractSeq[A] with LinearSeq[A]".
* Examine all classes with .class file size greater than 10k. Named
classes and class names ending in $$anon$<num> are candidates for
analysis.
* If a return type is currently inferred where an anon subclass would be
returned, make the return type explicit. Don't allow the library-private
abstract classes to leak into the public namespace [and scaladoc].
|
| |
|
|
|
|
|
| |
No review.
|
|
|
|
|
|
|
| |
Moved all the eagerly evaluated bits to the top of the file so I can see
them all at once. Let a dozen vals unroll up front so initialization is
more predictable. No review.
|
|
|
|
|
|
|
|
| |
As near as I can tell, -Xcheckinit was failing because a var was read
too early as null rather than waiting for it to be set to its initial
value, null. I guess that's a defensible warning, since one might change
it away from null. Organized the vars in that file better. No review.
|
|
|
|
|
|
|
| |
Another page in the storied history of "call .tpe when one should have
called .tpeHK", in this case leading to a crash of stacktraciness.
Closes SI-5152, review by moors.
|
|
|
|
|
|
|
| |
Another page in the storied history of "check the normalized type, then
act on the unnormalized type", in this case leading to a tight loop of
foreverness. Closes SI-5156, review by moors.
|
| |
|
|
|
|
|
|
| |
Changed presentation tests to use .flags instead of .opts for passing
options to the presentation compiler.
|
|
|
|
|
|
| |
Fixed askLinkPos problem in reported by failing test in
presentation/akka.
|
|
|
|
|
| |
Oops, didn't mean to commit that one. Opens SI-5147. No review.
|
|
|
|
|
| |
Minor change to get closer to building under -Xexperimental.
|
|
|
|
|
| |
Closes SI-5147.
|
|
|
|
|
| |
No review.
|
|
|
|
|
|
|
|
|
| |
Hardened the repl against a bunch of erroneous conditions. Added a
:reset command which causes the repl to forget everything you have told
it. Added classloader tracing when repl tracing is enabled. :reset is
not that useful in its current form but it's the precursor to something
more interesting. No review.
|
|
|
|
|
|
|
|
| |
Exception handling beset by entropy. Restored some order. The output of
the test may not be stable across platforms, in which case I'll take the
usual step of reverting it, thereby achieving victory over failure by
testing nothing instead of testing something. No review.
|
|
|
|
|
| |
No review.
|
|
|
|
|
|
| |
Found the cure for the hanging repl introduced three comits ago. No
review.
|
| |
|
|
|
|
|
|
|
|
| |
With this change, one can use the reflective compiler with the scala
libs on the boot classpath (the default) or not (with -nobootcp) and it
will work either way. Maybe it will work in sbt now too, but I haven't
tried it. Since I bet you will try it, review by grek.
|
|
|
|
|
| |
Lots of fiddling in the interests of a better classloading future.
|
| |
|
|
|
|
|
|
|
| |
Fixed type unsoundness problem in t5120 and also discovered by
roman.kalukiewicz@gmail.com. Fix should be refined further, as I am not
convinced we are quite done yet. Review by moors.
|
|
|
|
|
|
|
|
| |
Made some minor change in the presentation compiler testing framework to
make it more robust when (unexpected) NoPosition values are returned.
That makes test failure smoother and more information can be hence
gathered from the logged trace. no review.
|
|
|
|
|
| |
Now there's an unlikely fix. No review.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Contributed by Thomas Switzer. Closes SI-4985, no review.
|
|
|
|
|
|
|
|
|
| |
Fixes NPE using iterator with an XML attribute being null or None )
(SI-5052 Also fixes incorrect size method (SI-5115 )
Contributed by Jordi Salvat i Alabart. Closes SI-5052, SI-5115, no
review.
|
|
|
|
|
| |
NullaryMethodType was escaping. Closes SI-5099, review by moors.
|
|
|
|
|
|
| |
Code to locate currently transformed unit in case of crashes. Review by
extempore.
|
| |
|
|
|
|
|
| |
Closes SI-4970, review by moors.
|
|
|
|
|
| |
No review.
|
|
|
|
|
|
| |
Doubling a 0-size array is still 0, that's not growing. Closes SI-4963,
no review.
|
|
|
|
|
|
|
|
| |
It represents a lot of work because the mutation flies fast and furious
and you can't even blink at these things without upsetting them. They're
a little hardier now, or at least we stand a better chance of changing
them. Open season on review.
|
| |
|
| |
|
|
|
|
|
| |
Don't truncate errors or warnings. No review.
|
|
|
|
|
|
| |
Discovered an overloaded method with multiple unimplemented variants
only had one listed. Fixed, no review.
|
|
|
|
|
|
| |
Propagate varargs flag from object methods to static forwarders so java
will recognize them as varargs.
|
| |
|