Skip to content

fix Issue 11922 - [REG2.065a] ICE on nonexistent identifier in templated...#3094

Merged
9rnsr merged 1 commit intodlang:masterfrom
WalterBright:fix11922
Jan 16, 2014
Merged

fix Issue 11922 - [REG2.065a] ICE on nonexistent identifier in templated...#3094
9rnsr merged 1 commit intodlang:masterfrom
WalterBright:fix11922

Conversation

@WalterBright
Copy link
Member

Copy link
Contributor

Choose a reason for hiding this comment

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

Your approach will continue to pollute compiler code!

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree with Kenji here in that this approach seems to be much more error-prone. But then, I usually only work on the semantic part for the occasional bug fix, so I'm really not the one to complain.

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't agree, for reasons explained in #3034

Copy link
Contributor

Choose a reason for hiding this comment

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

@klickverbot I think that Walter's approach is essentially fragile, and it will need continued maintenance, like this PR. So I really don't like this change.

Copy link
Contributor

Choose a reason for hiding this comment

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

@klickverbot If you have a time, could you please read our discussion in #3034?

Copy link
Contributor

Choose a reason for hiding this comment

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

I've read the discussion there, otherwise I wouldn't have commented on it in the first place based on this one change. I agree with your reasoning, but as I said, I wouldn't put too much weight on my own opinion here.

Copy link
Contributor

Choose a reason for hiding this comment

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

@klickverbot I understand. Thank you.

@WalterBright
Copy link
Member Author

It's a half a line fix, guys, hardly pollution.

@9rnsr
Copy link
Contributor

9rnsr commented Jan 16, 2014

Only once half line change is not an issue. But repeating same change again and again will be issue.

@9rnsr
Copy link
Contributor

9rnsr commented Jan 16, 2014

@WalterBright OK, I accept this change again. But, if same bug will be found again, I'll apply my approach to stop regression repetition.

9rnsr added a commit that referenced this pull request Jan 16, 2014
[REG2.065a] Issue 11922 - ICE on nonexistent identifier in templated auto method
@9rnsr 9rnsr merged commit 11f05b5 into dlang:master Jan 16, 2014
@WalterBright WalterBright deleted the fix11922 branch January 16, 2014 20:10
9rnsr added a commit that referenced this pull request Jan 23, 2014
[REG2.065a] Issue 11922 - ICE on nonexistent identifier in templated auto method
9rnsr added a commit to 9rnsr/dmd that referenced this pull request Apr 15, 2014
This reverts commit 11f05b5, excepting test cases.
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.

3 participants