Parse support for tuple patterns in var and let (#3448)

Co-authored-by: Richard Smith <richard@metafoo.co.uk>
This commit is contained in:
Geoff Romer
2023-12-08 01:16:03 +00:00
committed by GitHub
co-authored by Richard Smith
parent 8ace1dcb78
commit 39750b9925
27 changed files with 181 additions and 104 deletions
@@ -150,6 +150,7 @@ auto HandleBindingPattern(Context& context, Parse::NodeId parse_node) -> bool {
}
auto HandleTemplate(Context& context, Parse::NodeId parse_node) -> bool {
// TODO: diagnose if this occurs in a `var` context.
return context.TODO(parse_node, "HandleTemplate");
}