summaryrefslogtreecommitdiff
path: root/test/files/run
Commit message (Collapse)AuthorAgeFilesLines
...
* Gave StringBuilder a StringLike parent as endor...Paul Phillips2010-09-151-0/+7
| | | | | | Gave StringBuilder a StringLike parent as endorsed by martin in http://www.scala-lang.org/node/6893 . Review by odersky.
* Added implicits to create Orderings from java's...Paul Phillips2010-09-151-0/+28
| | | | | | | Added implicits to create Orderings from java's Comparable and Comparator interfaces. Also some cleanup in Sorting. Review by community.
* Stream gets a specialized, extra-lazy Iterator ...Paul Phillips2010-09-151-0/+10
| | | | | | | | Stream gets a specialized, extra-lazy Iterator so it can iterate as lazily as it traverses. Patch submitted by "Eastsun": probably not his real name, but that's what we call him. Closes #3273, review by prokopec.
* Close #3835, review by extemporeLukas Rytz2010-09-142-0/+6
|
* Proposed implementation of 'unlift' on Function...Paul Phillips2010-09-091-0/+25
| | | | | | | Proposed implementation of 'unlift' on Function1, the inverse function of PartialFunction#lift. Review by rytz and other interested parties. References #3825, but not closing until this is further considered.
* Closes #1220.Iulian Dragos2010-09-012-0/+39
|
* Closes #3776. No review.Martin Odersky2010-08-241-0/+3
|
* Fix and test case for broken linked lists, cont...Paul Phillips2010-08-231-0/+100
| | | | | | Fix and test case for broken linked lists, contributed by Lucien Pereira. Closes #3361, no review.
* test for #3667. no reviewLukas Rytz2010-08-231-0/+8
|
* closes #2788.Adriaan Moors2010-08-192-0/+4
| | | | | | | the added flexibility'll cost ya one ClassManifest review by phaller
* fix an msil bug (code gen of exception handlers).Lukas Rytz2010-08-102-0/+19
|
* close #7226.Lukas Rytz2010-08-092-0/+10
|
* Disallowed super.XX calls to Any methods which ...Paul Phillips2010-08-071-7/+2
| | | | | | | | | | Disallowed super.XX calls to Any methods which are presently either crashing the compiler (isInstanceOf) or leading to runtime failure (== and !=) in addition to one which was being rewritten to a this call but makes more sense disallowed like the others (##). Closes #3736, review by odersky.
* fixes names/defaults when using :_* for specify...Lukas Rytz2010-08-052-0/+27
| | | | | | fixes names/defaults when using :_* for specifying repeated parameters. close #3697, no review.
* close #3667.Lukas Rytz2010-08-052-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | scala> def ser(o: AnyRef) = new java.io.ObjectOutputStream(new java.io.ByteArrayOutputStream()).writeObject(o) ser: (o: AnyRef)Unit scala> @serializable class Outer { | case class Inner(x: Int) | } defined class Outer scala> val o = new Outer o: Outer = Outer@34469729 scala> ser(new o.Inner(1)) scala> o.Inner // initialize the Inner$module field of o res1: o.Inner.type = Inner scala> ser(new o.Inner(1)) java.io.NotSerializableException: Outer$Inner$ review by extempore.
* added @deprecatedName annotation, allowing to d...Lukas Rytz2010-08-032-0/+19
| | | | | | added @deprecatedName annotation, allowing to deprecate parameter names. review by prokopec.
* Fixes priority queues and makes them iterables ...Aleksandar Pokopec2010-07-291-346/+337
| | | | | Fixes priority queues and makes them iterables now.
* Added merge function to HashTrie.merge. No review.Aleksandar Pokopec2010-07-281-0/+36
|
* new test files.Martin Odersky2010-07-191-0/+4
|
* Moved the burden of forgivingness for string sl...Paul Phillips2010-07-141-0/+19
| | | | | | Moved the burden of forgivingness for string slices into StringOps where it belongs. Review by odersky.
* close #3648 (again).Lukas Rytz2010-07-132-11/+0
|
* Added test case for #3645. Closes #3645.Philipp Haller2010-07-121-0/+6
|
* Closes #3493. Review by extempore.Aleksandar Pokopec2010-07-091-0/+15
|
* closes #3603. no reviewAleksandar Pokopec2010-07-091-0/+18
|
* close #3648.Lukas Rytz2010-07-093-0/+16
|
* Fixes #3580. Review by extempore.Aleksandar Pokopec2010-07-051-0/+17
|
* Closes #1766 (structural method dispatch broken...Gilles Dubochet2010-07-021-0/+16
| | | | | | Closes #1766 (structural method dispatch broken in class with multiple constructors). Review by prokopec.
* Made a null output sink and applied it to the r...Paul Phillips2010-07-022-0/+1
| | | | | | | Made a null output sink and applied it to the recently failing test, which is displaying non-deterministic output by way of the underlying parser. No review.
* Test case for (long ago closed) #2106, no review.Paul Phillips2010-07-022-0/+9
|
* Fixed an infinite loop in the xml parser on inv...Paul Phillips2010-07-012-0/+5
| | | | | | Fixed an infinite loop in the xml parser on invalid input. Also found an off by one bug in Source while fixing it. No review.
* Enumeration fixes.Paul Phillips2010-06-302-0/+13
| | | | | | | | | | | | correctly simply by inspecting method signatures (because a Value from a different Enumeration stored in a val looks identical to one from this Enumeration) so I have Value store the outer Enum for comparison purposes. This won't make anything new uncollectable because they already have an $outer pointing there. This also simplified the reflection logic: it's an eq test rather than a series of heuristics. Closes #3616, #3615. Review by phaller.
* Removed unfinished Jenkins hashcode for final.Paul Phillips2010-06-272-18/+0
|
* A wholesale reversion of the pattern matcher to...Paul Phillips2010-06-161-9/+0
| | | | | | | | A wholesale reversion of the pattern matcher to r21939, motivated by the appearance of #3578. Closes #3578, reopens #2800, #3050. Review by moors. (I can't keep saying "no review" when every move I make in here seems to break something.)
* first part of r22260Antonio Cunei2010-06-161-2/+2
|
* removed integration of placeholder syntax and n...Lukas Rytz2010-06-162-30/+15
| | | | | | removed integration of placeholder syntax and named arguments. review by odersky
* temporarily reversing r22260; will be shortly r...Antonio Cunei2010-06-161-2/+2
| | | | | | temporarily reversing r22260; will be shortly re-committed in two separate portions.
* Fixes #3563. Review by extempore.Aleksandar Pokopec2010-06-161-0/+21
|
* Added test case for #432. No review.Gilles Dubochet2010-06-141-0/+15
|
* Closes #3558.Iulian Dragos2010-06-142-0/+16
|
* Changed groupBy to return immutable.Map.Paul Phillips2010-06-131-2/+2
|
* Make local lazy values thread-safe.Iulian Dragos2010-06-092-0/+18
| | | | | | is now guaranteed to be initialized at most once, even when accessed from different threads. Closes #3007, review by odersky.
* Most of the iterate implementations were callin...Paul Phillips2010-06-071-0/+7
| | | | | | | | Most of the iterate implementations were calling the given function one too many times, leading to tragic failure if the function could not handle this (such as repeatedly applying tail.) Closes #3540, review by prokopec.
* Fix for #3284.Derek Chen-Beker2010-06-042-15/+103
| | | | | | | | but in the interest of not breaking backwards compatibility, the JSON.parse method has been marked deprecated for now. Unit tests have been fixed so that this won't break the build this time.
* Fix for init-order caused NPE in NumericRange.Paul Phillips2010-06-041-0/+16
| | | | | | | ran across some tortured logic trying to accomodate the long abandoned idea of having 5 != 5L, so simplified the contains method. Closes #3518, no review.
* Burned by a last minute adjustment, I lost the ...Paul Phillips2010-06-041-0/+2
| | | | | | | Burned by a last minute adjustment, I lost the downward counting direction. It is a seriously fiddly process to adjust Range and I don't recommend it to anyone. Closes #3529 over again. Review by prokopec.
* Discovered and disproved this unlikely truth:Paul Phillips2010-06-041-0/+12
| | | | | | | | | | | | scala> (1 to 1 drop 1) == (1 to 1) res0: Boolean = true It was introduced in r21349 which was to fix #2535, but led to #3529. I humbly suggest we can't afford to introduce bugs of this severity in the pursuit of corner cases such as Ranges which use Int.MaxValue as a boundary. And looking at the patch I find the "after" code a lot harder to follow. Closes #3529. Review by prokopec.
* Fixes #3511 by adding a custom StreamView.Aleksandar Pokopec2010-06-031-0/+36
|
* Fixes #3508. No review is necessary.Aleksandar Pokopec2010-06-022-0/+26
|
* Partially solves the problem for #3502.Aleksandar Pokopec2010-06-021-0/+24
| | | | | | | | 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...
* some tests. no reviewLukas Rytz2010-06-023-16/+167
|