mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
Removed oops comments
This commit is contained in:
parent
97702988d1
commit
da08525bb3
@ -16882,11 +16882,11 @@ static void ensure_field_index(ZigType *type, const char *field_name, size_t ind
|
||||
|
||||
static ZigType *ir_type_info_get_type(IrAnalyze *ira, const char *type_name, ZigType *root) {
|
||||
Error err;
|
||||
ConstExprValue *type_info_var = get_builtin_value(ira->codegen, "TypeInfo"); // TODO oops this global variable made it past code review
|
||||
ConstExprValue *type_info_var = get_builtin_value(ira->codegen, "TypeInfo");
|
||||
assert(type_info_var->type->id == ZigTypeIdMetaType);
|
||||
assertNoError(ensure_complete_type(ira->codegen, type_info_var->data.x_type));
|
||||
|
||||
ZigType *type_info_type = type_info_var->data.x_type; // TODO oops this global variable made it past code review
|
||||
ZigType *type_info_type = type_info_var->data.x_type;
|
||||
assert(type_info_type->id == ZigTypeIdUnion);
|
||||
|
||||
if (type_name == nullptr && root == nullptr)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user