summaryrefslogtreecommitdiff
path: root/test/files/run
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Make Iterator.toStream be properly lazy.Paul Phillips2010-06-012-0/+16
|
* Re-enabled a number of previously disabled tests;Antonio Cunei2010-05-283-4/+20
| | | | | according to my tests, they all currently work.
* Adds comments for #3471, and a test case which ...Aleksandar Pokopec2010-05-261-1/+1
| | | | | | Adds comments for #3471, and a test case which should have been added earlier. Review by extempore.
* Updated check file. No review.Martin Odersky2010-05-251-1/+1
|
* Fixed an xml issue arising from arrays no longe...Paul Phillips2010-05-242-0/+18
| | | | | | Fixed an xml issue arising from arrays no longer being recognized as sequences. Review by dpp.
* I figured it'd be a miracle if I got the script...Paul Phillips2010-05-231-86/+0
| | | | | | I figured it'd be a miracle if I got the script test past our fickle robot overseers. Disabled, no review.
* Changed the script runner mechanism to alchemiz...Paul Phillips2010-05-231-0/+86
| | | | | | | | 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.
* Misoptimization for list extractors caused non-...Paul Phillips2010-05-201-0/+9
| | | | | | Misoptimization for list extractors caused non-sequences to incorrectly match. Closes #3050, #2800. No review.
* Closed #3432.Iulian Dragos2010-05-202-0/+19
|
* Fixed a BigDecimal/Long comparison bug reported...Paul Phillips2010-05-201-0/+2
| | | | | Fixed a BigDecimal/Long comparison bug reported on the list. No review.
* Bug in lastIndexOfSeq. Closes #3455, no review.Paul Phillips2010-05-201-2/+4
|