D-Programming-Language/dmd — pull request #2578 by rainers (2013-09-21 11:32:02+00:00)
Title: fix Issue 11081: duplicate COMDAT with failed compilation with lambdas

This patch avoids code generation for template instances with erronous parents. This mostly happens for !__traits(compiles) expressions.
At the same time it fixes mangled names for function literals used as alias template parameters.