scala/scala — pull request #1334 by phaller (2012-09-18 09:23:02+00:00)
Title: SI-6384 - avoid crash due to optimization in 2.10 CPS plugin

This fixes a regression in the 2.9.x branch (code combining CPS and try-catch crashing the compiler). The fix is simply undoing an optimization that was done in the 2.10 CPS plugin (replacing a function with only a match by a match on an empty tree; this optimization seems to work only with virtpatmat).

Review by @adriaanm