scala/scala — pull request #1830 by magarciaEPFL (2012-12-29 13:30:43+00:00)
Title: nested closures are flattened by calling supplementErrorMessage() directly

A closure C that becomes an argument to the constructor of another closure makes both closures harder to eliminate (either by scalac-optimizer or JIT-compiler) than is the case when C is the argument to an @ inline method.

In the same vein as https://github.com/scala/scala/pull/1823

review by @JamesIry or @paulp