diff options
| author | gingerBill <bill@gingerbill.org> | 2021-02-19 11:31:14 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-02-19 11:31:14 +0000 |
| commit | efdee0dafb2b7568242173cb4549aba32f6f9e75 (patch) | |
| tree | cd1e66b987699f55f57c3c4f6097f1fb31cf0517 /src/check_decl.cpp | |
| parent | f332cf498d83f4ef2da5ce1493347c1984cbf0d8 (diff) | |
Remove `bit_field` type from Odin (keyword and dead runtime code still exists)
Diffstat (limited to 'src/check_decl.cpp')
| -rw-r--r-- | src/check_decl.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp index 9f8f460ba..aed830530 100644 --- a/src/check_decl.cpp +++ b/src/check_decl.cpp @@ -96,9 +96,6 @@ Type *check_init_variable(CheckerContext *ctx, Entity *e, Operand *operand, Stri e->type = t_invalid; return nullptr; } - if (is_type_bit_field_value(t)) { - t = default_bit_field_value_type(t); - } GB_ASSERT(is_type_typed(t)); e->type = t; } |