| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Changed the script runner mechanism to alchemize from AST atoms rather
than generating wrapper source, and fixed script position reporting.
This patch does not include a discussed change to mark some positions as
synthetic. Closes #3119, #3121. Review by milessabin.
|
|
|
|
|
|
| |
Adding some info to naked asserts so future crashes of the same stripe
won't be silent on what happened. No review.
|
|
|
|
|
|
| |
Pulled a function from the repl into the package object because I need
it outside the repl. No review.
|
|
|
|
|
|
| |
Reverted r19926 based on reports it breaks things under java7 and on
android. Ticket #2725 patiently awaits a real XML person. No review.
|
|
|
|
|
|
|
|
| |
It's clearly not a long term solution to go hunting them one by one,
but for the short term goal of shipping 2.8.0 without accidental java 6
dependencies, removed what should be all uses of String.isEmpty from the
source. No review.
|
|
|
|
|
|
|
| |
A workaround for the crasher described in the comments of #3431 (not
related to #3431 per se.) Thanks to iulian for pinpointing what I can't
do during completion member discovery. No review.
|
|
|
|
|
|
| |
Discovered via irc one more assertion in the matcher which was asserting
something too specific. Fixed, no review.
|
|
|
|
|
|
|
| |
Made workaround for #3430 noisier during its working around so we don't
get complacent about whether there's still a bug in the optimizer.
Conceived by dragos, ergo no review.
|
|
|
|
|
|
| |
Altered a bunch of places which call hashCode to call ## instead. No
review.
|
| |
|
|
|
|
|
|
|
|
| |
way it was, but this is the obvious fix for now. Review by odersky
(perhaps you could point out where my logic fails, in that I expected
the concrete return type of withHelpSyntax to contain a setter for
value.)
|
|
|
|
|
|
|
| |
A more specifically targetted version of r21991 which ought to eliminate
the pathological behavior displayed by files/run/Course-2002-07.scala
under -optimise. No review.
|
|
|
|
|
|
| |
Make the inliner be more careful about where it pokes around. Closes
#3252, #3430. Review by dragos.
|
| |
|
|
|
|
|
|
| |
Misoptimization for list extractors caused non-sequences to incorrectly
match. Closes #3050, #2800. No review.
|
| |
|
| |
|
|
|
|
|
| |
Fixed a BigDecimal/Long comparison bug reported on the list. No review.
|
| |
|
| |
|
|
|
|
|
|
| |
Fixed problem with static initializer in ForkJoinTask on Android.
Replaces forkjoin.jar. Addresses see #3359. Review by plocinic.
|
|
|
|
|
| |
tentative solution of typeParams problem discovered by Iulian.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Hacky but no-risk fix for #3189, which was caused by the ghost of
regular expression patterns rising from the grave to haunt the parser.
No review.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
closes #3429
review by odersky
|
|
|
|
|
|
| |
closes #3404
review by odersky
|
|
|
|
|
|
| |
Changed strategy to allow specialization on type params at @specialized
positions. no review.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
[scaladoc] Closes #3428 (HTML markup supported in Scaladoc). Improves
wiki-syntax parsing of lists. Improves stylesheet for headings and code
blocks in comments. Review by malayeri.
|
|
|
|
|
|
|
|
|
|
|
| |
Swapped the order of the arguments to returning to make it consistent
with the way I've been using it for a long time. No review, how about
a question for nobody in particular instead: can we put this in the
library somewhere so I can stop looking around for it everywhere I go?
It's really handy.
def returning[T](x: T)(f: T => Unit): T = { f(x) ; x }
|
|
|
|
|
|
|
| |
Starting to look like the pattern matcher and I can meet in the middle.
More distributing my acquired bottom-up knowledge among the current
code. No review.
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed a missed opportunity for code rewriting in specialize: a method
that was specialized both on enclosing class types and its own was
routed to the generic one. For instance, a map[@specialized B] would
exhibit this bug.
Restricted warnings to non-synthetic methods, removing warnings for
Tuple default argument methods. No review.
|
|
|
|
|
|
| |
Took advantage of my new wealth of bottom-up pattern matching knowledge
to simplify MixTypes a bunch. No review.
|
|
|
|
|
|
|
| |
Realized that somehow the synthetic flag on pattern matcher temp vars
was lost somewhere, and classfile debugging info was being generated for
every one of them. Fixed. No review.
|
|
|
|
|
| |
Added one-way conversions from collection.{Set,Map,IndexedSeq}. Review by milessabin.
|
| |
|
| |
|
|
|
|
|
|
|
| |
crashing-under-optimise test into pending since that looks like
a genuine bug - I'll open it a ticket. No review.
|
|
|
|
|
|
| |
Removed an assertion which was asserting an untrue statement thus
causing chaos and strife. Closes #3411, no review.
|
|
|
|
|
|
|
|
| |
Fixed a long standing issue with interpreter commands containing more
than a single statement. It was the classic "reversing a list and then
flattening it is not the same as flattening and then reversing it."
Closes #3116, no review.
|
|
|
|
|
|
|
| |
Notice and fail when a file given with -i is incomplete (which under
other conditions in the repl is quite different from not compiling, thus
the bug.) Closes #3011, no review.
|