| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
Fixed problem when running under -Xcheckinit for the code.scala test by
avoiding accessing an unitialized variable. Good catch, -Xcheckinit!
Review by extempore.
|
|
|
|
|
|
| |
"phase.id <= currentRun.typerPhase.id" hurts my brain in all these
convoluted conditionals. No review.
|
|
|
|
|
|
| |
First end-to-end implementation of a runtime reflexive compiler that
generates and loads bytecodes. Review by szeiger.
|
|
|
|
|
| |
Trying to fix getLinkPos problem reported by Mirco. Review by dotta.
|
| |
|
|
|
|
|
| |
Suppresses ProductN parent for case classes. No review.
|
| |
|
|
|
|
|
| |
Pushed NPE defense in NoSourceFile.file out another level.
|
| |
|
|
|
|
|
|
| |
Pinpointed line which gave us SI-3882. In case a remedy suggest itself
to you, review by dragos.
|
|
|
|
|
|
| |
Starting to see a glimmer of the other side now. I nudged a few things
into more sensible places. No review.
|
|
|
|
|
|
| |
It's hidden behind -Xlint and pretty specific, but makes me feel better
anyway. References SI-4762, no review.
|
|
|
|
|
| |
One little tiny oversight, those positions are finicky. No review.
|
|
|
|
|
|
|
| |
I was hoping to be further than this by now ("Accursed mutants!" *shakes
fist*) but you can't deny we've come a long way. Review is welcome, but
no review.
|