mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 13:01:04 +01:00
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:
@@ -950,6 +950,7 @@ class TypeCompleter {
|
||||
auto BuildValueRepr(SemIR::TypeId type_id, SemIR::Inst inst) const
|
||||
-> SemIR::ValueRepr {
|
||||
CARBON_KIND_SWITCH(inst) {
|
||||
case SemIR::AdaptDecl::Kind:
|
||||
case SemIR::AddrOf::Kind:
|
||||
case SemIR::AddrPattern::Kind:
|
||||
case SemIR::ArrayIndex::Kind:
|
||||
|
||||
Reference in New Issue
Block a user