summaryrefslogtreecommitdiff
path: root/test/pending/pos/unapply.scala
diff options
context:
space:
mode:
authorBurak Emir <emir@epfl.ch>2006-10-30 05:47:25 +0000
committerBurak Emir <emir@epfl.ch>2006-10-30 05:47:25 +0000
commitf28285cee74e3f5da3bee5bdd18969566b75f736 (patch)
treeec413577d8afb67ae2ab8f4588761a6a58190a82 /test/pending/pos/unapply.scala
parent948b1a53ea1820733a8fb8bf668510c5f4be3ec3 (diff)
downloadscala-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.scala2
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]) {