summaryrefslogtreecommitdiff
path: root/test/files/neg/sammy_restrictions.flags
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2013-10-08 09:26:23 +0200
committerAdriaan Moors <adriaan.moors@typesafe.com>2013-10-17 11:01:38 -0700
commit7fbaf9479c50e3fffda676b2f4d508d6bc376c3d (patch)
tree9d3d53451877a6d051393897b050c70b96cb7371 /test/files/neg/sammy_restrictions.flags
parent1571af7a8a7e78b67d052f371abc44c751930666 (diff)
downloadscala-7fbaf9479c50e3fffda676b2f4d508d6bc376c3d.tar.gz
scala-7fbaf9479c50e3fffda676b2f4d508d6bc376c3d.tar.bz2
scala-7fbaf9479c50e3fffda676b2f4d508d6bc376c3d.zip
Test cases for SAM restrictions.
Only one seems to indicate something new: ((x: Int) => 0): NonClassType I believe that we shouldn't pursue SAM translation for that case, and fallthrough to Function1. That would allow for an implicit view to finish the job.
Diffstat (limited to 'test/files/neg/sammy_restrictions.flags')
-rw-r--r--test/files/neg/sammy_restrictions.flags1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/neg/sammy_restrictions.flags b/test/files/neg/sammy_restrictions.flags
new file mode 100644
index 0000000000..48fd867160
--- /dev/null
+++ b/test/files/neg/sammy_restrictions.flags
@@ -0,0 +1 @@
+-Xexperimental