Odin
Odin copied to clipboard
Matrix type wrapped in a `Maybe` triggers assert
Context
Repro case:
package main
main :: proc() {
foo: Maybe(matrix[4,4]f32)
}
Triggers assert src/types.cpp(1488): Assertion Failure: 'min_alignment >= elem_align'
at https://github.com/odin-lang/Odin/blob/master/src/types.cpp#L1488
odin report
:
Odin: dev-2024-05:4d8cd9b31
OS: macOS Sonoma 14.4.1 (build: 23F79, kernel: 23.4.0)
CPU: Apple M3 Max
RAM: 65536 MiB
Backend: LLVM 14.0.6