[Issue 6872] Breaking type parsing of shared(inout(int)[])

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 11 03:38:51 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6872



--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2011-12-11 03:38:49 PST ---
Following cases are also rejected.

static assert((shared(inout(const(int)[]))).stringof
           == "shared(inout(const(int)[]))");
static assert((shared(inout(const(int)[])[])).stringof
           == "shared(inout(const(int)[])[])");
static assert((shared(inout(const(immutable(int)[])[])[])).stringof
           == "shared(inout(const(immutable(int)[])[])[])");

The TypeNext::makeXXX() functions should convert the modifier of new next type
object like Type::addMod() function.

Updated patch and splitted pull request from #486.
https://github.com/D-Programming-Language/dmd/pull/555

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list