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

Union is not considered private by --ctags #869

Open
andy-hanson opened this issue May 16, 2022 · 0 comments
Open

Union is not considered private by --ctags #869

andy-hanson opened this issue May 16, 2022 · 0 comments
Labels

Comments

@andy-hanson
Copy link

andy-hanson commented May 16, 2022

In the following example, U is not considered private:

private alias a = int;
private int i;
private void f() {}
private class C {}
private struct S {}
private union U {}

If I run dub run dscanner -- --ctags a.d, I get:

!_TAG_FILE_FORMAT	2
!_TAG_FILE_SORTED	1
!_TAG_FILE_AUTHOR	Brian Schott
!_TAG_PROGRAM_URL	https://github.com/dlang-community/D-Scanner/
C	a.d	4;"	c	line:4	access:private
S	a.d	5;"	s	line:5	access:private
U	a.d	6;"	u	line:6
a	a.d	1;"	a	line:1	access:private
f	a.d	3;"	f	line:3	access:private	signature:()
i	a.d	2;"	v	line:2	access:private
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants