Odin
Odin copied to clipboard
Compiler crashes when trying to assign i32 to Maybe(any)
Code:
package main
foo : Maybe(any)
main :: proc() {
bar : i32 = 1234
foo = bar
}
Build Output:
[1] 92297 segmentation fault odin build .
Crashes in gb_internal void add_type_info_type_internal(CheckerContext *c, Type *t) with a CheckerContext of NULL, which comes from internal_check_is_assignable_to.
Forgot the bug label