mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-22 13:42:38 +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
@@ -42,6 +42,7 @@ auto HandleParseNode(Context& context, Parse::ImplIntroducerId node_id)
|
||||
// TODO: Instead use a separate parse node kinds for `impl` and `impl forall`,
|
||||
// and only push a pattern block in `forall` case.
|
||||
context.pattern_block_stack().Push();
|
||||
context.full_pattern_stack().PushFullPattern();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user