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

Compiler: Avoid showing duplicate entries as warnings #7626

Merged

Conversation

bcardiff
Copy link
Member

@bcardiff bcardiff commented Apr 4, 2019

A leftover from #7596. Warnings should appear once per deprecated methods and not once per invocation.

@bcardiff bcardiff added this to the 0.28.0 milestone Apr 4, 2019
@bcardiff bcardiff added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler labels Apr 4, 2019
@bcardiff bcardiff added the pr:wip label Apr 4, 2019
@bcardiff bcardiff force-pushed the fix/ignore-duplicate-warnings branch from ee2b0e9 to 8a60d93 Compare April 4, 2019 19:35
@bcardiff bcardiff requested review from asterite and sdogruyol April 4, 2019 19:36
@bcardiff
Copy link
Member Author

bcardiff commented Apr 4, 2019

@asterite @sdogruyol the first push was not right. I added a couple of more tests to ensure that a warning is reported once per receiver's type of the call plus the invocation location.

@bcardiff bcardiff merged commit 23a7cca into crystal-lang:master Apr 5, 2019
bcardiff added a commit to bcardiff/crystal that referenced this pull request Apr 8, 2019
bcardiff added a commit to bcardiff/crystal that referenced this pull request Apr 8, 2019
@bcardiff bcardiff deleted the fix/ignore-duplicate-warnings branch April 10, 2019 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants