summaryrefslogtreecommitdiff
path: root/test/files/run/colltest1.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-8185 Correct grammar for single-warning compilation runFrançois Garillot2014-05-141-1/+1
|
* Cull extraneous whitespace.Paul Phillips2013-09-181-4/+4
| | | | | | | | | | | | | | | | | | | | | One last flurry with the broom before I leave you slobs to code in your own filth. Eliminated all the trailing whitespace I could manage, with special prejudice reserved for the test cases which depended on the preservation of trailing whitespace. Was reminded I cannot figure out how to eliminate the trailing space on the "scala> " prompt in repl transcripts. At least reduced the number of such empty prompts by trimming transcript code on the way in. Routed ConsoleReporter's "printMessage" through a trailing whitespace stripping method which might help futureproof against the future of whitespace diseases. Deleted the up-to-40 lines of trailing whitespace found in various library files. It seems like only yesterday we performed whitespace surgery on the whole repo. Clearly it doesn't stick very well. I suggest it would work better to enforce a few requirements on the way in.
* SI-7198 Par-Test uses filters filesSom Snytt2013-05-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partest will also read files/filters and files/kind/filters for filter expressions (one per line, trimmed, leading #comments) which are taken as regexes. A test/files/filters is provided which attempts to quell HotSpot warnings; the test for this commit requires it. The elided lines can be revealed using the lemon juice of verbosity: apm@mara:~/projects/snytt/test$ ./partest --verbose --show-diff files/run/t7198.scala [snip] >>>>> Transcripts from failed tests >>>>> > partest files/run/t7198.scala % scalac t7198.scala [snip] % filtering t7198-run.log --Over the moon --Java HotSpot(TM) 64-Bit Server VM warning: Failed to reserve shared memory (errno = 28). The filtering operation is part of the transcript, which is printed on failure. No attempt is made to be clever about not slurping the filters file a thousand times. Previous literal patterns had to be updated because there's parens in them thar strings. Future feature: pattern aliases, define once globally and invoke in test filters.
* SI-7003 Partest redirects stderr to log fileSom Snytt2013-05-251-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some scalac output is on stderr, and it's useful to see that in the log file, especially for debugging. Adds a line filter for logs, specified as "filter: pattern" in the test source. Backslashes are made forward only when detected as paths. Test alignments: Deprecations which do not pertain to the system under test are corrected in the obvious way. When testing deprecated API, suppress warnings by deprecating the Test object. Check files are updated with useful true warnings, instead of running under -nowarn. Language feature imports as required, instead of running under -language. Language feature not required, such as casual use of postfix. Heed useful warning. Ignore broken warnings. (Rarely, -nowarn.) Inliner warnings pop up under -optimise only, so for now, just filter them out where they occur. Debug output from the test required an update.
* pull request feedbackPavel Pavlov2012-09-181-0/+2
|
* Begone t1737...Hubert Plociniczak2011-11-021-4/+4
|
* Renamed Application to App.Martin Odersky2011-02-211-1/+1
|
* first part of r22260Antonio Cunei2010-06-161-2/+2
|
* 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.
* Changed groupBy to return immutable.Map.Paul Phillips2010-06-131-2/+2
|
* Bug in lastIndexOfSeq. Closes #3455, no review.Paul Phillips2010-05-201-2/+4
|
* More fun with -Xmigration.Paul Phillips2010-03-191-2/+2
| | | | | | | | | | | | | | | | | | to BufferLike (++ and similar now create a new collection.) Removed MapLikeBase. Annotated all the methods in mutable.{ Map, Set } which mutated in-place in 2.7 to note that they create new collections, and implemented same. At this point the only +/- like method which mutates in place which I am aware of is BufferLike.+ (see source comment for my observations.) Also tweaked some collections return types as necessitated by these changes, such as mutable.Set.clone() now returning "This" rather than mutable.Set[A]. References #3089, closes #3179. Review by odersky.
* Unique's seeming victory is overruled by commit...Paul Phillips2010-02-041-2/+2
| | | | | | Unique's seeming victory is overruled by committee. It is "distinct", not "unique", wherein lies the nub. No review.
* Striking while the iron is hot, renamed removeD...Paul Phillips2010-02-031-2/+2
| | | | | | | | | Striking while the iron is hot, renamed removeDuplicates to unique and deprecated removeDuplicates. The debate between distinct and unique was vigorous but unique won by a freckle. (Dark horse 'nub' was disqualified for taking performance enhancers.) The only thing which might need review is the choice of name, but review by odersky.
* Fixed test I broke.Paul Phillips2009-11-271-3/+3
|
* Fixed test cases to the new method names (index...Iulian Dragos2009-11-261-1/+1
| | | | | | Fixed test cases to the new method names (indexOfSeq -> indexOfSlice). See r19892
* separated Vector impl from IndexedSeqTiark Rompf2009-10-301-0/+2
|
* built new starr and fixed test casesTiark Rompf2009-10-211-1/+1
|
* Sequence->SeqMartin Odersky2009-10-021-10/+10
|
* fixed up testsMartin Odersky2009-09-281-2/+2
|
* refined implicit resolution.Martin Odersky2009-09-281-0/+2
|
* [no content change] Fixed all SVN properties: m...Gilles Dubochet2009-09-241-0/+0
| | | | | | | | [no content change] Fixed all SVN properties: mimes, EOL, executable. Id expansion is consistently enabled for Scala/Java/C# sources in 'src/' and consistently disabled and removed from everywhere else: there should not be any dead Id tags anymore.
* new arrays are done.Martin Odersky2009-09-211-4/+4
|
* added manifests to most parts of standard libra...Martin Odersky2009-08-271-1/+1
| | | | | | | added manifests to most parts of standard library which deal with arrays. One test is temporarily disabled, as it shows a deep problem with multi-dimensional arrays (which was present all along).
* Fixed failing test-suite case.Gilles Dubochet2009-06-091-6/+6
|
* In "Iterable" and in all its subclasses, "itera...Gilles Dubochet2009-05-271-6/+6
| | | | | | In "Iterable" and in all its subclasses, "iterator" replaces "elements" (and assorted changes).
* cleaned up collection builder frameworkMartin Odersky2009-05-141-0/+231