diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2024-04-10 03:12:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-10 03:12:40 +0200 |
| commit | 8a6a3e883ce3e87070aef083f6233643e3fb0308 (patch) | |
| tree | 89383d6850aae1727099df8aa91c773079e6df8b /base | |
| parent | 2207a01494c37da24a65fbfe9245a672b012237e (diff) | |
| parent | af6d2480fa7202924ea05d65cdad65aa9e764d05 (diff) | |
Merge pull request #3406 from laytan/bit-field-core-parser
add bit_field to `core:odin`
Diffstat (limited to 'base')
| -rw-r--r-- | base/runtime/core.odin | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/base/runtime/core.odin b/base/runtime/core.odin index 7ad3ef1d6..c62301c34 100644 --- a/base/runtime/core.odin +++ b/base/runtime/core.odin @@ -597,8 +597,9 @@ type_info_core :: proc "contextless" (info: ^Type_Info) -> ^Type_Info { base := info loop: for { #partial switch i in base.variant { - case Type_Info_Named: base = i.base - case Type_Info_Enum: base = i.base + case Type_Info_Named: base = i.base + case Type_Info_Enum: base = i.base + case Type_Info_Bit_Field: base = i.backing_type case: break loop } } |