| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
only for classes created after Scala 1.4
|
| |
|
|
|
|
|
|
| |
fix for 513: use deep ForeachTypeTraverser in doTypeTraversal instead of
shallow one test case+checkfile for #513
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Fixed NPE in scala.ref.WeakReference and scala.ref.SoftReference.
|
| |
|
|
|
|
|
|
|
| |
Added the scala.concurrent.TaskRunner and
scala.concurrent.AsyncInvokable abstractions with corresponding
refactorings in scala.actors and scala.concurrent.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Reintegrated `ImmutableMapAdaptor` and `ImmutableSetAdaptor`.
|
|
|
|
|
| |
Changed toSet to return immutable.Set, addresses #2200.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Enabled synchronous message sends for ReplyableReactor. Added
get(timeout: Long) method to SyncVar.
|
|
|
|
|
|
|
|
|
|
|
|
| |
The creation of scala.collection.mutable.Iterable in 2.8 means that all
the other classes in scala.collection.mutable are
impacted - what they once thought was scala.Iterable is now
mutable Iterable. This meant such things as Stack ++= List(1,2,3)
would no longer compile. This patch qualifies the relevant
Iterables as collection.Iterables, though based on inspecting
other classes, it's likely they should actually be Traversables.
|
|
|
|
|
|
|
| |
Removed some identical code from the collections classes in hopes of
finding some consistency in collections equality. Added more test cases
to the sequenceComparisons test.
|
|
|
|
|
|
| |
Removed Vector's indexOfSeq method in favor of the superclass
implementation, which already discriminates based on hasDefiniteSize.
|
| |
|
|
|
|
|
|
|
|
|
| |
Now that there's a KMP implementation in Seq, removed the Char-specific
one from StringBuilder. Added lastIndexOfSeq
method to SequenceTemplate - for StringBuilder primarily,
but available to be enjoyed by all the world's sequences.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
A start on a more comprehensive test suite for sequences. It performs
3600 different tests attempting to exercise the potentially buggy
variations of startsWith, endsWith, indexOfSeq, and sameElements.
And, a KMP implementation of indexOfSeq which in addition to being a
lot faster for definite sized sequences, should give the wrong answer
somewhat less frequently.
|
|
|
|
|
|
|
|
|
| |
scala> Vector(1,2,3) startsWith List("I am a Sumerian shapeshifting
destruction god.")
res0: Boolean = true
...is fixed.
|
|
|
|
|
|
|
|
| |
scala> immutable.Vector(1,2,3) endsWith immutable.Vector(2,3)
res0: Boolean = false
...is fixed.
|
|
|
|
|
|
|
|
| |
scala> List(1,2,3) endsWith List(2, "I AM GOZER THE DESTROYER")
res0: Boolean = true
... is fixed.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Altered some invocations of Array.copy to use compat.Platform.arraycopy
instead, because profiling indicated a frightening amount of time being
spent in java.lang.Class.isArray (mostly stemming from ensureCapacity in
StringBuilder.)
|
| |
|
|
|
|
|
|
|
|
|
| |
Added ControlException marker trait and update various exceptions to
mix it in; the typer now correctly propagates ControlExceptions rather
than reporting them; the IDE reports attempts to log ControlExceptions;
Global.signalDone no longer leaks ValidateErrors back into the typer;
the set of compiler options offered by the IDE has been updated.
|
| |
|
|
|
|
|
| |
made streams and views more lazy by always skipping builder
|
|
|
|
|
|
|
| |
Trying to make typechecker faster by (1) new subtyping (2) better
implicit caches. Disallowed '42 as a symbol. Added cache method to
Mutable Maps. Better complietion in interactive.
|
|
|
|
|
|
|
| |
Implementation and test cases for canEqual method in case classes. Now
the autogenerated equality method inquires with the argument as to
whether other.canEqual(this) before returning true.
|
|
|
|
|
| |
Made NamespaceBinding a case class; addresses ticket #2138.
|
| |
|
| |
|
| |
|
| |
|