diff options
| author | Alexandros Naskos <alex_naskos@hotmail.com> | 2018-05-01 13:00:39 +0300 |
|---|---|---|
| committer | Alexandros Naskos <alex_naskos@hotmail.com> | 2018-05-01 13:00:39 +0300 |
| commit | ff1c4e1f13943b63dcb6d257a2ee58ae88d4b12a (patch) | |
| tree | ca7b68900670baa3ca414be1864d41e64af82704 /src/ir.cpp | |
| parent | 013f548202ae1ffb584c211a0ea2cea53b745583 (diff) | |
| download | zig-ff1c4e1f13943b63dcb6d257a2ee58ae88d4b12a.tar.gz zig-ff1c4e1f13943b63dcb6d257a2ee58ae88d4b12a.zip | |
Added tests.
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ir.cpp b/src/ir.cpp index 3bce9c51cd..dfffb41873 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -15975,7 +15975,6 @@ static void ir_make_type_info_defs(IrAnalyze *ira, ConstExprValue *out_val, Scop ensure_field_index(fn_def_val->type, "return_type", 7); fn_def_fields[7].special = ConstValSpecialStatic; fn_def_fields[7].type = ira->codegen->builtin_types.entry_type; - // @TODO Check whether this is correct. if (fn_entry->src_implicit_return_type != nullptr) fn_def_fields[7].data.x_type = fn_entry->src_implicit_return_type; else if (fn_entry->type_entry->data.fn.gen_return_type != nullptr) |
