← Back to index
|
Original Bugzilla link
Bug 6711 – "with" doesn't work with "alias this"
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2011-09-22T00:31:00Z
Last change time
2013-07-26T10:34:23Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
dlang-bugzilla
Comments
Comment #0
by dlang-bugzilla — 2011-09-22T00:31:00Z
struct A { int i; } struct B { A a; alias a this; } B b; static assert(is(typeof({ with (b) i=0; })));
Comment #1
by andrej.mitrovich — 2011-09-24T16:58:16Z
*** Issue 5887 has been marked as a duplicate of this issue. ***
Comment #2
by andrej.mitrovich — 2011-09-24T16:58:50Z
(In reply to comment #1) > *** Issue 5887 has been marked as a duplicate of this issue. *** Marked older as dup since you have a simpler test-case.
Comment #3
by andrej.mitrovich — 2013-02-08T15:35:49Z
*** Issue 7609 has been marked as a duplicate of this issue. ***
Comment #4
by andrej.mitrovich — 2013-06-09T12:01:54Z
*** Issue 9807 has been marked as a duplicate of this issue. ***
Comment #5
by henning — 2013-07-24T14:58:08Z
https://github.com/D-Programming-Language/dmd/pull/2380
Comment #6
by github-bugzilla — 2013-07-25T20:02:59Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/771b1ac53e94016e23483f99ce172cb464cf6594
fix issue 6711 - "with" doesn't work with "alias this"
https://github.com/D-Programming-Language/dmd/commit/dfc7624ccb106b775bbd8df3120bc128ad46fd79
Merge pull request #2380 from hpohl/6711 fix issue 6711 - "with" doesn't work with "alias this"
Comment #7
by andrej.mitrovich — 2013-07-26T03:05:17Z
The test-case in Issue 9807 still doesn't work, so I've reopened this.
Comment #8
by henning — 2013-07-26T09:04:01Z
https://github.com/D-Programming-Language/dmd/pull/2386
Comment #9
by github-bugzilla — 2013-07-26T10:34:14Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/efba4e047b4d2a1da522d418a0491aebe0e68f36
additional fix for issue 6711
https://github.com/D-Programming-Language/dmd/commit/e96ff4d28950603b8a5bd3e8c35511bd3072e7fa
Merge pull request #2386 from hpohl/6711 additional fix for issue 6711