summaryrefslogtreecommitdiff
path: root/test/files/neg/sammy_restrictions.flags
Commit message (Collapse)AuthorAgeFilesLines
* SI-9415 Turn on SAM by defaultJason Zaugg2016-03-261-1/+0
| | | | | | | | | | Initial work to change settings and test by Svyatoslav Ilinskiy Thanks! To avoid cycles during overload resolution (which showed up during bootstrapping), and to improve performance, I've guarded the detection of SAM types in `isCompatible` to cases when the LHS is potentially compatible.
* Test cases for SAM restrictions.Jason Zaugg2013-10-171-0/+1
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.