| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Looks like we will need blood, toil, tears, and sweat. No review.
|
| |
|
|
|
|
|
|
| |
Changed reflection to allow getting a Scala Symbol for the
implementation class of a trait.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
"Fiddle with lubs and glbs by never considering getClass as a member in
a refinement generated from them. In a sense we have justification for
this by saying we already treated getClass in an ad-hoc way, so we might
as well go all the way." -- m. odersky
Closes SI-4846.
|
|
|
|
|
|
| |
Enabled Presentation Compiler test for IDE ticket #1000609, which has
been fixed by odersky. no review.
|
|
|
|
|
|
| |
Enabled Presentation Compiler test for IDE ticket #1000349, which has
been fixed by odersky in r25625. no review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1.+(2) - what is it? Is it 3 or 3.0? Come scala 2.11 you won't
have to not know (or even not know there's something you don't know.)
1.+(2) will then be safely considered equivalent to 1 + 2, because
any dot not followed by a digit is not part of a number.
Primarily, that's these forms: 3.f 3.d 3.
If you prefer an error to a warning, use -Xfuture.
Let's deprecate 012 == 10 too! (See comment.) References SI-5089, no
review.
|
|
|
|
|
|
| |
A comment answering one of adriaan's philosophical musings on why
programs fail, and a test case informed by the comment. Review by moors.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow to load $class classes using Scala reflection.
Tweaked implementation of invalidClassName method
to exclude *$class clasess from the set of invalid
names. It's not exactly clear what was the intent
of this method in first place so I'm not sure if
it's the best way to fix SI-5176. Added test-case
that covers this issue.
Fixes SI-5176. Review by odersky.
|
| |
|
|
|
|
|
|
|
| |
I should know better than to behave as if usable inferences can be drawn
from a comment like "SYNTHETIC because of DEVIRTUALIZE". Maybe it was
even true when it was written, but no more. Closes SI-5178, no review.
|
|
|
|
|
| |
Wow, ten tests, that's unexpected. No review.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Added akka.opts file (for presentation compiler test) which allows to
set settings on the compiler's instance. Lines that begin with a sharp
are skipped. review by odersky.
|
|
|
|
|
| |
Oops, didn't mean to commit that one. Opens SI-5147. No review.
|
|
|
|
|
| |
No review.
|
|
|
|
|
| |
Closes SI-5147.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Added *.log and build/ to gitignore so partest/ant artifacts don't show
up in our commit messages. Also fixed whitespace issues arising from the
filter-branch history rewrite for git move.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Closes SI-4970, review by moors.
|
|
|
|
|
| |
No review.
|
|
|
|
|
| |
No review.
|
|
|
|
|
| |
No review.
|
|
|
|
|
| |
Guess that was a bad choice of class. No review.
|
|
|
|
|
|
| |
Discovered an overloaded method with multiple unimplemented variants
only had one listed. Fixed, no review.
|
|
|
|
|
|
| |
First end-to-end implementation of a runtime reflexive compiler that
generates and loads bytecodes. Review by szeiger.
|
| |
|
|
|
|
|
| |
Suppresses ProductN parent for case classes. No review.
|
| |
|