Odin icon indicating copy to clipboard operation
Odin copied to clipboard

Matrix type wrapped in a `Maybe` triggers assert

Open harold-b opened this issue 3 months ago • 0 comments

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

harold-b avatar May 22 '24 04:05 harold-b