summaryrefslogtreecommitdiff
path: root/test/files/run/idempotency-extractors.check
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-12-04 12:35:13 +0100
committerEugene Burmako <xeno.by@gmail.com>2012-12-04 13:43:23 +0100
commit502818157671ff1d62264091b0102d05a42ff352 (patch)
treed24edb5dbe04348f26173503b6c359360582187a /test/files/run/idempotency-extractors.check
parent2a8291a3568abc848e79acaacd82e90932a77c8a (diff)
downloadscala-502818157671ff1d62264091b0102d05a42ff352.tar.gz
scala-502818157671ff1d62264091b0102d05a42ff352.tar.bz2
scala-502818157671ff1d62264091b0102d05a42ff352.zip
tests for idempotency issues in the typechecker
For more details see https://issues.scala-lang.org/browse/SI-5464. Check files are intentionally very precise, so that we can monitor how the situation changes over time.
Diffstat (limited to 'test/files/run/idempotency-extractors.check')
-rw-r--r--test/files/run/idempotency-extractors.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/run/idempotency-extractors.check b/test/files/run/idempotency-extractors.check
new file mode 100644
index 0000000000..fcd50faa79
--- /dev/null
+++ b/test/files/run/idempotency-extractors.check
@@ -0,0 +1,5 @@
+2
+2 match {
+ case Test.this.Extractor.unapply(<unapply-selector>) <unapply> ((x @ _)) => x
+}
+error!