| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
This commit reimplements filter for Streams, but does not reimplement
map in StreamWithFilter.
The problem is that GC can't collect instances of Streams residing on the stack if there are multiple references to the Stream (more than a single one on the stack on which a Stream method is invoked). In the case of a StreamWithFilter, being an inner class, there is always an `$outer` reference to the outer object, so there is little GC can do. Possible solution - change the return type of WithFilter to something else (in TraversableLike) to allow it to return objects that don't have to subclass TraversableLike.WithFilter, and reimplement the withFilter method in Stream to simply call `filter` method - in the case of Streams, `withFilter` has little sense in either case...
|
| |
|
|
|
|
|
| |
Added more license notices for things shipped with Scala.
|
|
|
|
|
| |
Added mandatory copyright notices for some libraries shipped with Scala.
|
|
|
|
|
|
| |
Removed unnecessary files containing code with an uncertain copyright
status.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
made hashset more robust for concurrent access to reduce eclipse race
conditions.
|
|
|
|
|
| |
according to my tests, they all currently work.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Adds comments for #3471, and a test case which should have been added
earlier. 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.
|
|
|
|
|
| |
attention in case the ticket was being left open intentionally.)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Closes #3454, plus one syntax generalization which lets us have mulitple
if guards in for expressions without semicolons between them. Review by
moors.
|
|
|
|
|
| |
Addresses see #3470 by adding a method Reactor.restart. Review by rompf.
|
| |
|
|
|
|
|
|
| |
Fixed an xml issue arising from arrays no longer being recognized as
sequences. Review by dpp.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
I figured it'd be a miracle if I got the script test past our fickle
robot overseers. Disabled, no review.
|
|
|
|
|
|
| |
Added tests for bugs which have been fixed since beta1. Closes #2691,
#3020. 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.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
Removed some flotsam which should have been removed when I rolled back
partest. (We ended up with two copies of the methvsfield test, one in a
subdir and one not.) I would suppose it is responsible for #3464 but I
don't know for certain. 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.
|