Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on declarations which have a templated UDA #29

Open
ghost91- opened this issue Jul 31, 2018 · 2 comments
Open

error on declarations which have a templated UDA #29

ghost91- opened this issue Jul 31, 2018 · 2 comments

Comments

@ghost91-
Copy link

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.

@adamdruppe
Copy link
Owner

adamdruppe commented Jul 31, 2018 via email

@ghost91-
Copy link
Author

Don't worry, this is not urgent for me at all ;) And congratulations on getting married!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants