swift
4eac3ea2 - Always create initializer contexts for pattern binding entries in non-local scopes.

Commit
9 years ago
Always create initializer contexts for pattern binding entries in non-local scopes. We were optimizing away unused pattern binding initializer contexts in both the parser and in semantic analysis, which led to a somewhat-unpredictable set of DeclContexts in the AST. Normalize everything by always creating these contexts.
Author
Committer
Parents
Loading