f :: fn(a: any) -> void {
}
main :: fn() -> void {
a := struct{}
f(a)
}
without the call to f the following error is reported.
type(struct{}) is not an expression
The result of that error seems to be that entity has it's type left nil which later on causes a crash