carbon-lang
carbon-lang copied to clipboard
Initial support for binding patterns in SemIR
- Introduce the
binding_patterninst. - Emit it during the initial check traversal, instead of
bind_name(orbind_symbolic_name). - Once the parameter pattern has been checked, traverse the generated
binding_patterns to emit the correspondingbind_names.
See here for the design this is based on.