HomePhabricator

Mark lambda decl as invalid if a captured variable has an invalid type.

Description

Mark lambda decl as invalid if a captured variable has an invalid type.

This causes the compiler to crash when trying to compute a layout for
the lambda closure type (see included test).

Details