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

Remove dead code and deprecated syntax #5092

Merged
merged 2 commits into from Sep 17, 2015
Merged

Conversation

yebblies
Copy link
Member

No description provided.

@dnadlinger
Copy link
Member

Feel free to toggle auto-merge on as soon as the tester has caught up to this.

@yebblies
Copy link
Member Author

Thanks, will do.

@yebblies
Copy link
Member Author

Auto-merge toggled on

yebblies added a commit that referenced this pull request Sep 17, 2015
Remove dead code and deprecated syntax
@yebblies yebblies merged commit 6d5bf8a into dlang:master Sep 17, 2015
@schuetzm
Copy link
Contributor

This PR introduced a regression:
https://issues.dlang.org/show_bug.cgi?id=15253

@schuetzm
Copy link
Contributor

Just from looking at the diff, I suspect it's caused by the change in dtemplate.d.

@@ -1688,7 +1688,7 @@ public:
default:
goto Lnomatch;
}
++argi;
assert(0);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this change looks suspicious

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's wrong then there's a compiler bug in dead code detection.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The easiest way to find out what caused the regression is to back all these changes out, then add them one by one until the regression happens.

@MartinNowak
Copy link
Member

This PR looks good (and reverting it doesn't fix the issue).

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