mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-25 07:40:10 +01:00
@@ -272,7 +272,7 @@ auto Value::MakeStructTypeVal(std::string name, VarValues* fields,
|
||||
return v;
|
||||
}
|
||||
|
||||
auto Value::MakeVoidTypeVal() -> const Value* {
|
||||
auto Value::MakeUnitTypeVal() -> const Value* {
|
||||
auto* v = new Value();
|
||||
v->tag = ValKind::TupleV;
|
||||
v->u.tuple.elements = new std::vector<TupleElement>();
|
||||
|
||||
Reference in New Issue
Block a user