swift
3ceb0a30 - [SourceKit] Use stack of argument mappings when walking the syntax model

Commit
3 years ago
[SourceKit] Use stack of argument mappings when walking the syntax model A single map of arguments allows an argument to be added to an incorrect node, eg. when the parent node isn't handled but the argument is mapped. Use a stack of (parent, mappings) instead and check that the parent matches to ensure this cannot happen.
Author
Committer
Parents
Loading