Odin
                                
                                
                                
                                    Odin copied to clipboard
                            
                            
                            
                        Backend assertion failure
Context
    Odin: dev-2022-06:5d4291d9
    OS:   Windows 10 Unknown Edition (0000007d) (version: 21H2), build 19044.1706
    CPU:  Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
    RAM:  8086 MiB
Code
package bug9
import "core:fmt"
foo :: proc(a: [][2]string) {
	fmt.println(a)
}
main :: proc() {
	foo({"All Files"})
}
Expected
A proper error message.
Got
odin\src\llvm_backend_const.cpp(102): Assertion Failure:
lb_sizeof(dst) == lb_sizeof(src)[2 x %..string] vs %..string = type { i8*, i64 }
Not closed, bug is still there.