← Back to index
|
Original Bugzilla link
Bug 11215 – `inout` lose enclosing `shared` on resolution
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-10-10T02:26:00Z
Last change time
2013-11-07T22:14:10Z
Keywords
pull, wrong-code
Assigned to
nobody
Creator
verylonglogin.reg
Comments
Comment #0
by verylonglogin.reg — 2013-10-10T02:26:28Z
E.g. `shared(inout(void)**)` is incorrectly resolved to `shared(<qualifier>(void))**`. --- shared(inout(void)**) f(inout int); static assert(is(typeof(f(0)) == shared(void**))); // fails static assert(is(typeof(f((const int).init)) == shared(const(void)**))); // fails ---
Comment #1
by k.hara.pg — 2013-10-12T22:36:22Z
https://github.com/D-Programming-Language/dmd/pull/2658
Comment #2
by github-bugzilla — 2013-11-07T22:13:54Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/e6523f723acc416cc18255d506444750cfbd04b7
fix Issue 11215 - `inout` lose enclosing `shared` on resolution
https://github.com/D-Programming-Language/dmd/commit/0d4aa53bf80562c66f0f94da95a8bf102448e2a9
Merge pull request #2658 from 9rnsr/fix11215 Issue 11215 - `inout` lose enclosing `shared` on resolution