mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Create a scope for each case block to contain bindings from its patterns, and invoke addVarsToScope after parsing case label patterns to introduce vars into that scope. Refactor addVarsToScope to use an ASTWalker so it finds pattern vars embedded in expr patterns. Swift SVN r5899
13 KiB
13 KiB