aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2024-04-10 03:12:40 +0200
committerGitHub <noreply@github.com>2024-04-10 03:12:40 +0200
commit8a6a3e883ce3e87070aef083f6233643e3fb0308 (patch)
tree89383d6850aae1727099df8aa91c773079e6df8b /base
parent2207a01494c37da24a65fbfe9245a672b012237e (diff)
parentaf6d2480fa7202924ea05d65cdad65aa9e764d05 (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.odin5
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
}
}