diff options
author | Burak Emir <emir@epfl.ch> | 2007-01-02 16:51:29 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2007-01-02 16:51:29 +0000 |
commit | bfea9f20d231bc6b7fb75edbce277d883265b89d (patch) | |
tree | 97d1ad6e319e2dbc96edde4c906ae9668f82c7cb /test/pending/run | |
parent | 9e3b5c094b4e8b96d418d7498deab78dcb8bf150 (diff) | |
download | scala-bfea9f20d231bc6b7fb75edbce277d883265b89d.tar.gz scala-bfea9f20d231bc6b7fb75edbce277d883265b89d.tar.bz2 scala-bfea9f20d231bc6b7fb75edbce277d883265b89d.zip |
* TupleN extends ProductN, again (genprod updated)
* better comments and parameter names in scala.xml.MetaData typechecker
* now handles special cases (n=0, n=1) for unapply correctly
* * even if one returns a Option[Product1[T]]
* typechecker now handles unapply return types correctly
* * e.g. when returning Option[{A,B}] instead of Option[Product2[A,B]]
Diffstat (limited to 'test/pending/run')
-rw-r--r-- | test/pending/run/unapply.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/pending/run/unapply.scala b/test/pending/run/unapply.scala index 4cf126de5a..e00a1e63a0 100644 --- a/test/pending/run/unapply.scala +++ b/test/pending/run/unapply.scala @@ -82,3 +82,5 @@ object Lis extends Assert { assertEquals(List(1,2,3) match { case List(x,y,_*) => {x,y}}, {1,2}) } } + + |