[SR-3455] Evaluation and Validation of Build Conditions Should Be Separate #46043
Labels
compiler
The Swift compiler in itself
good first issue
Good for newcomers
improvement
parser
Area → compiler: The legacy C++ parser
Additional Detail from JIRA
md5: d76a6968226878a35ed76eb3e8483ba5
relates to:
Issue Description:
Currently Parse handles both evaluation and validation of build configurations, but this can be flaky in practice. Especially because Parse wants to eat and report on the status of the whole condition, but evaluation wants to short circuit.
ParseStmt
should retain the validation portion of the function and Condition Resolver should absorb as much of the evaluation part as possible.The text was updated successfully, but these errors were encountered: