mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 21:31:24 +01:00
Parse support for tuple patterns in var and let (#3448)
Co-authored-by: Richard Smith <richard@metafoo.co.uk>
This commit is contained in:
co-authored by
Richard Smith
parent
8ace1dcb78
commit
39750b9925
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user