Xiu-zhe (Roger) Luo
Xiu-zhe (Roger) Luo
cool, can I join the org as well?
Yes, I like this idea, I agree the error handling is less intuitive, please go ahead to implement a new error type
Positional constructor is supported but it should only be your default constructor. You should write MyOption(1, 2) not just MyOption(1) I can see why you think there is a constructor...
why do you think so? you can't document fields in Julia.
For a normal struct type without such constructor I think you get a similar error isn't it?
Hmm interesting I think somehow the lowered Expr is not the same as function docstring. There's no way to remove this feature unless you define your own macro using the...
so it seems the field docstring is created by `Docs.@doc` which implicitly created by the docstring on top of the type, it won't work if you only have ```julia struct...
just need to insert the line number correctly in this package: https://github.com/Roger-luo/Expronicon.jl
> I gave codegen a try yesterday but didn't get very far since I haven't done much metaprogramming in Julia before. I tried to remove codegen_field_alias from codegen only to...
> Maybe something similar to what FieldMetadata.jl is using?a::Int | "an Int with a description" ? I did manage to make something like @description @option struct TT ... end work,...