I've come across a bug in harec related to using a variable and struct
with the same name:
type foo = struct {
x: i32,
};
fn bar(foo: foo) void = {
let x = foo {
x = 12,
};
};
$ harec test.ha
harec: src/check.c:2689: check_expr_struct: Assertion `obj->otype ==
O_TYPE' failed.
Sorry if this has already been reported.
Thanks,
Zach