error on declarations which have a templated UDA
Running adrdox on the following code results in errors:
module test.test;
///
struct Foo(T){}
///
@Foo!int void fun() {}
///
@Foo!string struct Bar {}
test.d(7:5)[error]: Declaration expected
test.d(10:5)[error]: Declaration expected
The corresponding symbols are not included in the generated documentation.
When adding parentheses around the template argument, the error messages still appear. However, the symbols appear in the generated documentation, but the UDAs are missing.
ok, i think the parser just doesn't realize that @ can have a thing too
I have been insanely busy these last few weeks (I am getting married next week! and my day job has the busiest time of the year too) but i will try to look into it by the end of this week.
There's a couple parser bugs that need to be fixed.
Don't worry, this is not urgent for me at all ;) And congratulations on getting married!