const Foo = []const struct { fn () void };
Errors: expected ‘;’ or block after function prototype
But if we do something like this:
const FooFn = fn () void;
const Foo = []const struct { FooFn };
It compiles properly.
Is this expected? Or there is some syntax parsing issue with it?
Zig version 0.16.0