hades-lang
hades-lang copied to clipboard
Global struct initialization
Allow initialization of structs at global const level if all arguments are also constants
struct SomeVTable {
foo: fn() -> void
}
fn int_foo() -> void {}
const IntVTable = SomeVTable(int_foo)