Ah I should have just tried the old thing, it seems to work still,
struct Foo
@generated Foo() = :($(Expr(:new, :(Foo))))
end
Ah I should have just tried the old thing, it seems to work still,
struct Foo
@generated Foo() = :($(Expr(:new, :(Foo))))
end