Context
Odin: dev-2026-08:8412dc37a
OS: macOS Tahoe 26.6.2 (build 25G83, kernel 25.6.0)
CPU: Apple M4 Pro
RAM: 24576 MiB
Backend: LLVM 22.1.8
Expected Behavior
Consider the following program:
package main
import "base:intrinsics"
import "core:fmt"
BitSet :: bit_set[0..<1; u32]
main :: proc() {
fmt.println(typeid_of(BitSet))
fmt.println(typeid_of(intrinsics.type_core_type(BitSet)))
}
This should print
Current Behavior
It prints
bit_set[0..=0; u32]
bit_set[0..=0; u32]
Context
Odin: dev-2026-08:8412dc37a
OS: macOS Tahoe 26.6.2 (build 25G83, kernel 25.6.0)
CPU: Apple M4 Pro
RAM: 24576 MiB
Backend: LLVM 22.1.8
Expected Behavior
Consider the following program:
This should print
Current Behavior
It prints