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

[D1] fix issue 13521 : -di ignores variable shadowing #4019

Merged
merged 1 commit into from Sep 23, 2014
Merged

[D1] fix issue 13521 : -di ignores variable shadowing #4019

merged 1 commit into from Sep 23, 2014

Conversation

mihails-strasuns-sociomantic
Copy link
Contributor

https://issues.dlang.org/show_bug.cgi?id=13521

void f()
{
    int i;
    { int i; }
}
$ dmd1 -c shadow.d
shadow.d(4): Deprecation: shadowing declaration shadow.f.i is deprecated
$ dmd1 -c -di shadow.d

WalterBright added a commit that referenced this pull request Sep 23, 2014
…ng-ignored

[D1] fix issue 13521 : -di ignores variable shadowing
@WalterBright WalterBright merged commit d82522f into dlang:dmd-1.x Sep 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants