summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-02-11 23:37:15 +0000
committerPaul Phillips <paulp@improving.org>2010-02-11 23:37:15 +0000
commitbbeecf2b7811971371a1312a376f66a95d4db2ba (patch)
treed096f2a4b928793c9a6d44fc823a040fd6e6203f /test
parent1e166a7a826bb086d9bcb77ae973fa343277f84f (diff)
downloadscala-bbeecf2b7811971371a1312a376f66a95d4db2ba.tar.gz
scala-bbeecf2b7811971371a1312a376f66a95d4db2ba.tar.bz2
scala-bbeecf2b7811971371a1312a376f66a95d4db2ba.zip
The non-intrusive bits of my hopefully pending ...
The non-intrusive bits of my hopefully pending "use the static type of the scrutinee to rule out some type/extractor patterns" patch. Includes a cleanup of the (still inadequate) type-parameter-ignoring match test which had been interfering with martin's digestion. Also: implicit search is disabled when typing a pattern, because the matcher never invokes implicits to satisfy a pattern. At worst maybe we'll get a performance bump. No review.
Diffstat (limited to 'test')
-rw-r--r--test/files/pos/t0999.scala5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/files/pos/t0999.scala b/test/files/pos/t0999.scala
deleted file mode 100644
index c384820af1..0000000000
--- a/test/files/pos/t0999.scala
+++ /dev/null
@@ -1,5 +0,0 @@
-object A {
- val d: Double = Math.sqrt(5 match {
- case x: Double => x
- })
-}