mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-24 19:55:11 +00:00
Model var as a pattern operator (#4720)
Co-authored-by: Richard Smith <richard@metafoo.co.uk>
This commit is contained in:
1 parent
6572da7314
commit
13434f0e8a
510 files changed
+11819
-3352
No files matched your search
@@ -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