summaryrefslogtreecommitdiff
path: root/test/files/run/patmat_unapp_abstype.check
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@epfl.ch>2012-04-13 18:52:12 +0200
committerAdriaan Moors <adriaan.moors@epfl.ch>2012-04-14 11:50:27 +0200
commit3515ac4449c72992be411e1e0579d76189dc7bf1 (patch)
treedac0bcf20a2fd49d6cacefbb9c7014b02a2f6a56 /test/files/run/patmat_unapp_abstype.check
parentd383f458aa5c53629727c5b6abb5134218471543 (diff)
downloadscala-3515ac4449c72992be411e1e0579d76189dc7bf1.tar.gz
scala-3515ac4449c72992be411e1e0579d76189dc7bf1.tar.bz2
scala-3515ac4449c72992be411e1e0579d76189dc7bf1.zip
more prudent bridging to unapply[Seq]
since we can't statically know whether the unapply we'll be bridging to is synthetic, drop this condition, and do pessimistic bridging for all unapply[Seq] (i.e., if we can't statically guarantee the type that would be assumed to be safe to cast to by a synthetic extractor, do the type test and return None if it fails)
Diffstat (limited to 'test/files/run/patmat_unapp_abstype.check')
-rw-r--r--test/files/run/patmat_unapp_abstype.check2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/patmat_unapp_abstype.check b/test/files/run/patmat_unapp_abstype.check
index ac28ccdb95..72239d16cd 100644
--- a/test/files/run/patmat_unapp_abstype.check
+++ b/test/files/run/patmat_unapp_abstype.check
@@ -1,2 +1,4 @@
TypeRef
none of the above
+Bar
+Foo