diff options
| author | gingerBill <bill@gingerbill.org> | 2023-07-16 23:41:51 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-07-16 23:41:51 +0100 |
| commit | d2d243cca8954e686a82f15a37a149c7938362d2 (patch) | |
| tree | b1030cf39008356bf277b163a246374d2233940b /src/types.cpp | |
| parent | ee8372145d62bf90c0fe43c78b96a02b6247321e (diff) | |
Mock out `cg_emit_conv`
Diffstat (limited to 'src/types.cpp')
| -rw-r--r-- | src/types.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/types.cpp b/src/types.cpp index 385ca926d..98be2b6cf 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -3952,6 +3952,7 @@ gb_internal i64 type_offset_of(Type *t, i32 index) { case -1: return align_formula(t->Union.variant_block_size, build_context.ptr_size); // __type_info } } + GB_ASSERT(index == 0); return 0; } |