| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Codec changes in scala.tools.nsc.io corresponding to those made in
r22154. No review.
|
|
|
|
|
| |
Closes #3472, final specialized methods give VerifyErrors.
|
| |
|
|
|
|
|
|
| |
Removed unnecessary files containing code with an uncertain copyright
status.
|
|
|
|
|
|
| |
made hashset more robust for concurrent access to reduce eclipse race
conditions.
|
|
|
|
|
|
|
| |
Reversion of r21940, which caused a big bump in quick.comp compilation
time. Another glorious day in the land of the pattern matcher. No
review.
|
|
|
|
|
|
|
|
|
|
|
| |
property of every directory in the
source tree, probably unintentionally.
http://lampsvn.epfl.ch/trac/scala/changeset/22003
Reverting those changes, leaving just
the change to MutableList.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
also consider non-implicit locals when checking shadowing of implicits:
closes #3453
nonImplicitSynonymInScope implements the predicate that is used in
tryImplicit's checks for shadowing of locally defined implicits
benchmarking shows the predicate does not significantly affect quick.comp+quick.lib (goes from 11min to 11min2s on my machine -- no optimisations)
review by odersky
|
|
|
|
|
|
| |
Closes #3452, inconsistency between method descriptors and java
signature for static forwarders. Review by extempore.
|
| |
|
|
|
|
|
|
| |
Added a migration warning for matches and instance tests when it might
be an Array/Seq test whose answer has changed. Review by odersky.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Made interpreter robust against a missing classpath and had it issue
informative message in such cases, as per suggestion by Razvan Cojocaru.
No review.
% java -classpath build/pack/lib/'*' scala.tools.nsc.MainGenericRunner
scala> Failed to initialize compiler: class scala.runtime.BooleanRef
not found. ** Note that as of 2.8 scala does not assume use of the java
classpath. ** For the old behavior pass -usejavacp to scala, or if using
a Settings
** object programatically, settings.usejavacp.value = true.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Closes #3454, plus one syntax generalization which lets us have mulitple
if guards in for expressions without semicolons between them. Review by
moors.
|
|
|
|
|
|
|
| |
Removed a few instances of redundant or dead code, most of which was
marked as waiting for a new starr which has long since arrived. No
review.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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.
|