Basic check support for adapters. (#3874)

No support is provided yet for converting between a type and an adapter
for that type.
This commit is contained in:
Richard Smith
2024-04-10 09:57:48 +00:00
committed by GitHub
parent e8430dda81
commit 28ceb4dd4e
19 changed files with 1642 additions and 43 deletions
+1
View File
@@ -901,6 +901,7 @@ auto TryEvalInst(Context& context, SemIR::InstId inst_id, SemIR::Inst inst)
}
// These cases are either not expressions or not constant.
case SemIR::AdaptDecl::Kind:
case SemIR::AddrPattern::Kind:
case SemIR::Assign::Kind:
case SemIR::BindName::Kind: