http://d.puremagic.com/issues/show_bug.cgi?id=11215
Summary: `inout` lose enclosing `shared` on resolution
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: wrong-code
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Denis Shelomovskij <[email protected]> 2013-10-10
13:26:28 MSD ---
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
---
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------