Model var as a pattern operator (#4720)

Co-authored-by: Richard Smith <richard@metafoo.co.uk>
This commit is contained in:
Geoff RomerandRichard Smith authored and GitHub committed 2025-01-17 17:51:34 +00:00
1 parent 6572da7314
commit 13434f0e8a
510 files changed
+11819 -3352

No files matched your search

+2
View File
@@ -2076,6 +2076,7 @@ static auto TryEvalInstInContext(EvalContext& eval_context,
case SemIR::BranchIf::Kind:
case SemIR::BranchWithArg::Kind:
case SemIR::ImportDecl::Kind:
case SemIR::NameBindingDecl::Kind:
case SemIR::OutParam::Kind:
case SemIR::OutParamPattern::Kind:
case SemIR::RequirementEquivalent::Kind:
@@ -2087,6 +2088,7 @@ static auto TryEvalInstInContext(EvalContext& eval_context,
case SemIR::StructLiteral::Kind:
case SemIR::TupleLiteral::Kind:
case SemIR::ValueParam::Kind:
case SemIR::VarPattern::Kind:
case SemIR::VarStorage::Kind:
break;