diff options
author | Burak Emir <emir@epfl.ch> | 2006-10-30 05:47:25 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2006-10-30 05:47:25 +0000 |
commit | f28285cee74e3f5da3bee5bdd18969566b75f736 (patch) | |
tree | ec413577d8afb67ae2ab8f4588761a6a58190a82 /test/pending/pos/unapply.scala | |
parent | 948b1a53ea1820733a8fb8bf668510c5f4be3ec3 (diff) | |
download | scala-f28285cee74e3f5da3bee5bdd18969566b75f736.tar.gz scala-f28285cee74e3f5da3bee5bdd18969566b75f736.tar.bz2 scala-f28285cee74e3f5da3bee5bdd18969566b75f736.zip |
* (unapply) fixed accessor handling for product...
* (unapply) fixed accessor handling for products in SyntheticMethods
* added test cases
Diffstat (limited to 'test/pending/pos/unapply.scala')
-rw-r--r-- | test/pending/pos/unapply.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pending/pos/unapply.scala b/test/pending/pos/unapply.scala index 4461c3324c..e784299ad8 100644 --- a/test/pending/pos/unapply.scala +++ b/test/pending/pos/unapply.scala @@ -1,5 +1,5 @@ case class MyTuple2[A,B](val _1:A, val snd:B) - +class Foo object Foo { def unapply(x:Any): Option[Product2[Int,String]] = { if(x.isInstanceOf[Bar]) { |