summaryrefslogtreecommitdiff
path: root/test/files/run/patmatnew.scala
Commit message (Collapse)AuthorAgeFilesLines
* deprecate Pair and TripleDen Shabalin2013-11-201-14/+14
|
* SI-6680 unsoundness in gadt typing.Paul Phillips2013-10-011-1/+1
| | | | | | | Introduces -Xstrict-inference to deal with the significant gap between soundness and what presently compiles. I'm hopeful that it's TOO strict, because it finds e.g. 75 errors compiling immutable/IntMap.scala, but it might be that bad.
* Cull extraneous whitespace.Paul Phillips2013-09-181-2/+2
| | | | | | | | | | | | | | | | | | | | | 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-7003 Partest redirects stderr to log fileSom Snytt2013-05-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Begone t1737...Hubert Plociniczak2011-11-021-2/+2
|
* Removes SUnit (long deprecated!) from the stand...Paul Phillips2011-05-191-517/+341
| | | | | | | | | | | | Removes SUnit (long deprecated!) from the standard library. the relatively small number of partest tests in Scala's suite that were still using SUnit now either just use regular asserts, or they print stuff that partest checks with a .check file. Also fixed some bad indentation, removed ancient useless-looking commented-out code, etc. Contributed by Seth Tisue (way to go seth) no review.
* Reverted r18215 at martin's request.Paul Phillips2009-09-251-5/+2
|
* new arrays are done.Martin Odersky2009-09-211-2/+2
|
* Deprecated case classes inheriting from other c...Paul Phillips2009-09-111-1/+1
| | | | | | Deprecated case classes inheriting from other case classes, and updated all the tests which did so.
* Lots of work hardening matching on sequences.Paul Phillips2009-07-071-11/+15
| | | | | | | | | | | | | | | | one long-standing bug which actually had a test case testing its bugginess (which is to say, when I fixed the bug, the test case failed.) This: - def doMatch4(xs:Seq[Char]) = xs match { - case Seq(x, y, _*) => x::y::Nil - case Seq(x, y, z, w) => List(z,w) // redundant! - } ...should never have compiled - which must have been recognized on some level given the "redundant!" comment, but it never made it into neg/.
* Implemented proposed strategy for #1503 and mov...Paul Phillips2009-07-051-2/+5
| | | | | | Implemented proposed strategy for #1503 and moved test case out of pending (and fixed it so it didn't throw a match error.)
* In "Iterable" and in all its subclasses, "itera...Gilles Dubochet2009-05-271-1/+1
| | | | | | In "Iterable" and in all its subclasses, "iterator" replaces "elements" (and assorted changes).
* massive new collections checkin.Martin Odersky2009-05-081-1/+1
|
* int -> Int, etc..michelou2008-05-201-32/+32
|
* added test cases for #710 and #346Burak Emir2008-04-101-1/+71
|
* fixed 495 again (this fix no longer ignores gua...Burak Emir2008-04-091-0/+15
| | | | | fixed 495 again (this fix no longer ignores guards), with test
* fixed #522Burak Emir2008-04-071-0/+21
|
* Moved 'patmatnew' back to 'run'Philipp Haller2008-02-041-0/+828
|
* Moved 'patmatnew' from 'run' to 'pos'Philipp Haller2008-02-011-828/+0
|
* Removed unchecked warning from 'patmatnew'Philipp Haller2008-02-011-1/+1
|
* fixed exhaustiveness warnings in testMartin Odersky2008-01-171-3/+3
|
* fixed t341Burak Emir2008-01-151-0/+5
|
* fixed t335Burak Emir2008-01-041-0/+13
|
* fixed #211Burak Emir2007-12-011-1/+9
|
* fixed seq matching bug + reorganized test casesBurak Emir2007-09-161-4/+153
|
* fixed odd typing bug #44Burak Emir2007-09-041-1/+21
|
* fixed #11Burak Emir2007-09-041-0/+31
|
* fixed #37Burak Emir2007-09-011-2/+11
|
* fixed ticket #2 (patch from tags/R_2_6_0-RC2), ...Burak Emir2007-09-011-24/+119
| | | | | fixed ticket #2 (patch from tags/R_2_6_0-RC2), reorganized test cases
* moved test cases in bug457.scala in to patmatne...Burak Emir2007-08-301-1/+45
| | | | | moved test cases in bug457.scala in to patmatnew.scala
* fix #1286Burak Emir2007-08-231-0/+4
|
* Ident(sym) => mkIdent(sym), avoids unattributed...Burak Emir2007-08-221-4/+12
| | | | | Ident(sym) => mkIdent(sym), avoids unattributed ident blowing up Erasure
* unapplySeq-optimization works in combination wi...Burak Emir2007-08-211-0/+22
| | | | | unapplySeq-optimization works in combination with guards
* fixed #1281, reverted Sean's lazy generator in ...Burak Emir2007-08-211-0/+22
| | | | | | fixed #1281, reverted Sean's lazy generator in Main which broke the build
* fix #1282, optimized translation of List.unappl...Burak Emir2007-08-211-0/+9
| | | | | | fix #1282, optimized translation of List.unapplySeq / List(p1...pN) patterns
* fixed #1277, more conservative when generating ...Burak Emir2007-08-201-6/+45
| | | | | fixed #1277, more conservative when generating equals test, +test cases
* fix #1276, encoding equals test in types means ...Burak Emir2007-08-191-0/+12
| | | | | | | fix #1276, encoding equals test in types means one has be careful when using <:<... for an "equalsclass" type, extracts the type of the value which is to be compared by equality, used in optimization
* disabled test for #1196Burak Emir2007-08-141-1/+2
|
* implemented #1196 by typer change and added tes...Burak Emir2007-08-141-0/+44
| | | | | implemented #1196 by typer change and added test cases
* Definitions, Par: encoding equality patterns us...Burak Emir2007-08-131-1/+13
| | | | | | | Definitions, Par: encoding equality patterns using <equals> pattern type code generation: if pattern body is throw, generate throw directly (no sharing) tests:moved unboxmatch into patmatnew
* fix #1257,#1258Burak Emir2007-08-081-0/+10
|
* -Ycasetags optimizationBurak Emir2007-08-061-0/+7
| | | | | fixed 1253
* compilation-only test caseBurak Emir2007-07-071-0/+6
|
* fixed alternative detection, handling of variab...Burak Emir2007-06-211-0/+8
| | | | | fixed alternative detection, handling of variables for unapply patterns
* test cases for pattern matchingBurak Emir2007-06-201-6/+29
|
* added setting Xmatchalgo + cleanup of PatternMa...Burak Emir2007-06-181-3/+48
| | | | | | added setting Xmatchalgo + cleanup of PatternMatchers * more control on which algo get used * removed some obsolete code * added test case
* deprecated &f, .f, requires.Martin Odersky2007-06-051-1/+1
| | | | | Added existential types.
* some debug output for fatal errors during typingBurak Emir2007-06-031-0/+6
|
* fix #1163Burak Emir2007-06-021-1/+18
|
* added test for unapply in StreamsLex Spoon2007-03-231-1/+14
|