mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 18:41:03 +01:00
Check support for form literals and :? bindings (#6747)
Co-authored-by: Jon Ross-Perkins <jperkins@google.com> Co-authored-by: Carbon Infra Bot <carbon-external-infra@google.com>
This commit is contained in:
co-authored by
Jon Ross-Perkins
Carbon Infra Bot
parent
f9ab963bd6
commit
bf9219d30e
@@ -667,6 +667,11 @@ class Stringifier {
|
||||
}
|
||||
}
|
||||
|
||||
auto StringifyInst(InstId /*inst_id*/, TypeComponentOf inst) -> void {
|
||||
*out_ << "<type component of form ";
|
||||
step_stack_->Push(inst.form_inst_id, ">");
|
||||
}
|
||||
|
||||
auto StringifyInst(InstId inst_id, TypeOfInst /*inst*/) -> void {
|
||||
// Print the constant value if we've already computed the inst.
|
||||
auto const_inst_id = sem_ir_->constant_values().GetConstantInstId(inst_id);
|
||||
|
||||
Reference in New Issue
Block a user