diff options
| author | gingerBill <bill@gingerbill.org> | 2024-02-22 19:14:16 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-02-22 19:14:16 +0000 |
| commit | c14b9d461a5c58d4b80957682f00205714063435 (patch) | |
| tree | 8971fd3642e00e08b0c1a49fd2823b9a22a23f99 /src/llvm_backend_utility.cpp | |
| parent | 8060e3170ebb973167e6beaf3dd1f5e31226f3b1 (diff) | |
Support `using` of a `bit_field` within a `struct`
Diffstat (limited to 'src/llvm_backend_utility.cpp')
| -rw-r--r-- | src/llvm_backend_utility.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_backend_utility.cpp b/src/llvm_backend_utility.cpp index bc5106601..5bd3cd8e2 100644 --- a/src/llvm_backend_utility.cpp +++ b/src/llvm_backend_utility.cpp @@ -1332,7 +1332,7 @@ gb_internal lbValue lb_emit_deep_field_gep(lbProcedure *p, lbValue e, Selection if (index == 0) { type = t_rawptr; } else if (index == 1) { - type = t_type_info_ptr; + type = t_typeid; } e = lb_emit_struct_ep(p, e, index); break; |