| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
examples of equality comparisons which are guaranteed to return false
because someone is not comparing what they think they're comparing.
|
|
|
|
|
|
| |
Overrode slice in the StringLike derivatives to use substring. Closes
#2895. Review by community.
|
|
|
|
|
|
|
| |
- fixed a bug in closure elimination causing VerifyErrors
- fixed a broken assert in GenICode that fired when -Ydebug was used
- added final modifiers
|
| |
|
|
|
|
|
| |
collections and "size" don't mix!
|
| |
|
|
|
|
|
| |
Fix and test case for #2364, which regressed with the fix to #2721.
|
|
|
|
|
|
| |
a regression because the pattern matcher has extractor bugs which don't
manifest for case classes. Underlying bug remains. No review.
|
|
|
|
|
| |
no review
|
|
|
|
|
| |
Revised List#mapConserve so that it tests wrt eq not ==.
|
|
|
|
|
| |
no review
|
| |
|
|
|
|
|
|
| |
Added final modifiers to several classes used by Predef implicits.
Review by community.
|
|
|
|
|
|
| |
Added warning for failed inlining when the target is @inline annotated.
No review necessary.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Created team of private[collection] abstract classes and traits in
scala.collection.views. Factored boilerplate and base Transformed traits
out of *ViewLike classes. Executive summary and motivation:
4812029 Dec 23 09:47 scala-library.jar // before
4604150 Dec 23 09:24 scala-library.jar // after
Direct size savings of 4.5%. Review by odersky.
|
|
|
|
|
|
|
| |
Took full advantage of the new =>? alias for the superverbosely named
PartialFunction by renaming every usage of the latter except when in
comments.
|
| |
|
|
|
|
|
|
| |
fixed #2548 - reverse, reverseIterator for views bug. Also - reverseMap for views now should work.
review by phaller.
|
|
|
|
|
|
|
|
| |
(1) Added some classes to allow arbitrary patches to source buffers.
(These are not yet complete so do not need a review yet I think.
(2) Avoided reflexive array operations in ScalaRunTime. review by
(community.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Minimally integrated the semi-orphaned immutable.Stack into the
collections hierarchy and enabled it in the sequence tests. Closes
#2822. review by community.
|
|
|
|
|
|
|
|
| |
Began the process of consolidating all the code which is painfully
duplicated between MarkupParsers and MarkupParser. This motivated by the
reappearance of bug #2354 in the exact same form as the one I already
fixed. no review.
|
| |
|
| |
|
|
|
|
|
|
| |
hardening the compiler to avoid exceptions I observed when used under
Eclipse.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
lost of documentation and some small adjustments to collection classes.
|
|
|
|
|
|
|
| |
Took advantage of package object fix to factor the duplicated code out
of scala.Math and scala.math.`package`. This required a new starr which
exposes inherited package object members (starr is based on r20110.)
|
|
|
|
|
|
| |
allowed $super variables in doc comment; some more documentation of
collection classes.
|
| |
|
|
|
|
|
|
|
|
|
| |
Modified partialMap to take PartialFunction[A, B] instead of Any => B.
There was definitely some reason I didn't do this in the first place,
but either that reason no longer applies or it's not easily induced.
However please consider this change slightly tentative as I feel like
that other shoe may still be out there and we might have to reconsider.
|
|
|
|
|
|
|
| |
Remedying the fact that I swapped which version of List.fromString
was to be deprecated and which was to be deleted, plus some better
deprecation advice.
|
|
|
|
|
|
|
| |
refined doc comments generation; refactored code into new Chars,
DocStrings classes in util. Added some more doc comments to collection
classes.
|
|
|
|
|
|
| |
Gave all the manifest singletons a readResolve so they unserialize to
themselves.
|
|
|
|
|
| |
Renamed AbstractFunction to AbstractFunction0 to keep ant happy.
|
|
|
|
|
|
| |
Removed productPrefix from case class hashCode consideration. (It is not
used in equality and therefore should not be used in hashCode either.)
|
|
|
|
|
|
| |
doesn't work but the relationships between all the top, nearly top, and
bottom types should all be all correct. (See lengthy test case.)
|
|
|
|
|
| |
Re-deleted a method which snuck back in on the last commit.
|
|
|
|
|
|
| |
new doc comment generation, including some new style doc comments in
collection classes.
|
| |
|
| |
|
| |
|