Skip to content

Only filter out duplicates if they are of the same kind - #781

Open
bangbangsheshotmedown wants to merge 3 commits into
dlang-community:masterfrom
bangbangsheshotmedown:duplicata
Open

Only filter out duplicates if they are of the same kind#781
bangbangsheshotmedown wants to merge 3 commits into
dlang-community:masterfrom
bangbangsheshotmedown:duplicata

Conversation

@bangbangsheshotmedown

Copy link
Copy Markdown

No description provided.

@github-actions

Copy link
Copy Markdown

Thanks for your Pull Request and making D better!

This comment will automatically be updated to summarize some statistics in a few minutes.

@WebFreak001

Copy link
Copy Markdown
Member

missing test to indicate what exactly this fixes or changes

@bangbangsheshotmedown

bangbangsheshotmedown commented Nov 17, 2024

Copy link
Copy Markdown
Author

From what i can remember, it was not showing a variable if its name was the same of a struct for example, but i'm not sure anymore

I will try to write a test, but i'm not sure how yet

@WebFreak001

WebFreak001 commented Nov 29, 2024

Copy link
Copy Markdown
Member

just create a folder in the tests folder that contains a script to run a test. You can find the most basic example here:

https://github.com/dlang-community/DCD/tree/master/tests/tc001

Run dcd-client with the -X flag to include a lot more information that you can test for

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

Successfully merging this pull request may close these issues.

2 participants