diff options
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp index 394ab398bb..26ccb77d7f 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -2972,6 +2972,10 @@ static LLVMValueRef gen_const_val(CodeGen *g, TypeTableEntry *type_entry, ConstE return LLVMConstNamedStruct(type_entry->type_ref, fields, type_entry->data.structure.gen_field_count); } + case TypeTableEntryIdUnion: + { + zig_panic("TODO"); + } case TypeTableEntryIdArray: { TypeTableEntry *child_type = type_entry->data.array.child_type; |
