swift
a6b5824d - AST: Correctly set parent DeclContext of ParamDecls in EnumElementDecls

Commit
6 years ago
AST: Correctly set parent DeclContext of ParamDecls in EnumElementDecls When an EnumElementDecl is parsed, we create the parameter list before creating the EnumElementDecl itself, so we have to re-parent those ParamDecls just like we do for functions and subscripts.
Author
Committer
Parents
Loading