summaryrefslogtreecommitdiff
path: root/test/files/run/patmatnew.scala
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* new pattern matching algoBurak Emir2007-03-221-9/+21
| | | | | | | removed "removeoption" changed SUnit and some tests added useful debug msg in typer
* more changes to make tuples (...)Martin Odersky2007-02-141-2/+2
|
* changed tuple syntax to (...)Martin Odersky2007-02-131-6/+6
|
* clean upBurak Emir2007-02-061-3/+16
|
* exhaustivity reworkedBurak Emir2007-02-051-0/+37
|
* unapply <-> as in "Matching with Objects"Burak Emir2006-12-251-2/+18
|