[Issue 12650] Invalid codegen on taking lvalue of instance field initializ

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12650 Kenji Hara changed: What|Removed |Added Keywords||pull, wrong-code Summary|GIT HEAD :

[Issue 12650] Invalid codegen on taking lvalue of instance field initializ

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12650 --- Comment #3 from Temtaime --- Sorry, test case is wrong. void foo()(auto ref in S s) {} s must be auto ref. So it's 2.065 reg. --

[Issue 12650] Invalid codegen on taking lvalue of instance field initializ

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12650 --- Comment #4 from Kenji Hara --- (In reply to Temtaime from comment #3) > Sorry, test case is wrong. > > void foo()(auto ref in S s) {} > > s must be auto ref. > > So it's 2.065 reg. OK I understand, and the bug will be fixed by my PR. --

[Issue 12650] Invalid codegen on taking lvalue of instance field initializ

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12650 --- Comment #5 from Kenji Hara --- (In reply to Temtaime from comment #3) > So it's 2.065 reg. Note that, the test case has worked as intended with 2.065, but doesn't work with git-head. Right? Therefore the 'regression' is introduced in git-head d

[Issue 12650] Invalid codegen on taking lvalue of instance field initializ

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12650 --- Comment #6 from Temtaime --- Yes, i missed "after" word. :) It's a git-head regression. Offtop: Thanks for your pr and contribution! --

[Issue 12650] Invalid codegen on taking lvalue of instance field initializ

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12650 --- Comment #7 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/19af757daccd404b42c2bb9577362e0ff1441b89 fix Issue 12650 - Invalid co