gah, sorry. linked to the wrong macro package. i don't think this is particularly relevant, but it should have been https://github.com/andrewcooke/AutoHashEquals.jl
On Saturday, 31 October 2015 10:53:39 UTC-3, andrew cooke wrote: > > > I want to use the (relatively?) new docstrings, but have data structures > that look like: > > """This is MyType.""" > @auto_hash_equals type MyType > attribute::Something > end > > where the macro comes from > https://github.com/andrewcooke/AutoTypeParameters.jl > > unfortunately, this gives the error: LoadError: invalid doc expression (it > seems that the docstring is being "applied" to the macro call, not the data > type). > > and it's not clear to me what the best solution is. should i modify my > macros so that they can take a string, and then move the macro to before > the string? or is there something i can do that will make docstrings > understand that it should be applied after the macro? > > thanks, > andrew > > >