scala/scala — pull request #3048 by adriaanm (2013-10-17 18:02:48+00:00)
Title: 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.

(This closes https://github.com/adriaanm/scala/pull/9)