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

[reg] fix Issue 11946 - need 'this' to access member when passing field to template parameter #3884

Merged
merged 1 commit into from
Aug 27, 2014

Conversation

WalterBright
Copy link
Member

This is a reversion of #2794, hopefully without breaking subsequent fixes layered on top of it.

https://issues.dlang.org/show_bug.cgi?id=11946
#2794 was not a complete fix, and caused regressions, and so this issue awaits further engineering. I don't think we should be breaking existing code unless we've got a solid solution.

I used conditional compilation in order to make it easier to experiment with solutions. They should be removed once we do decide which direction we should go.

This should be merged into 2.066.

Issue 11946 - need 'this' to access member when passing field to template parameter
@yebblies
Copy link
Member

I used conditional compilation in order to make it easier to experiment with solutions.

I strongly disagree with this. It just makes it harder to manipulate with git as instead of actually reverting the code you've decorated it.

AndrewEdwards added a commit that referenced this pull request Aug 27, 2014
[reg] fix Issue 11946 - need 'this' to access member when passing field to template parameter
@AndrewEdwards AndrewEdwards merged commit f32b97c into dlang:master Aug 27, 2014
9rnsr pushed a commit to 9rnsr/dmd that referenced this pull request Aug 28, 2014
[reg] fix Issue 11946 - need 'this' to access member when passing field to template parameter
@WalterBright WalterBright deleted the fix11946 branch August 28, 2014 06:37
@yebblies
Copy link
Member

@AndrewEdwards You should not have merged this.

@denis-sh
Copy link
Contributor

@yebblies So why isn't it already reverted?

@yebblies
Copy link
Member

Because my concern is with the process, not the actual code. See my comment in #3879

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.

4 participants