mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 07:24:42 +01:00
Model var as a pattern operator (#4720)
Co-authored-by: Richard Smith <richard@metafoo.co.uk>
This commit is contained in:
co-authored by
Richard Smith
parent
6572da7314
commit
13434f0e8a
@@ -119,4 +119,9 @@ auto HandleParseNode(Context& context, Parse::ExternModifierId node_id)
|
||||
return HandleModifier(context, node_id, KeywordModifierSet::Extern);
|
||||
}
|
||||
|
||||
auto HandleParseNode(Context& context, Parse::ReturnedModifierId node_id)
|
||||
-> bool {
|
||||
return HandleModifier(context, node_id, KeywordModifierSet::Returned);
|
||||
}
|
||||
|
||||
} // namespace Carbon::Check
|
||||
|
||||
Reference in New Issue
Block a user