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


Andrej Mitrovic <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Phobos                      |DMD
         AssignedTo|[email protected]  |[email protected]
            Summary|Regression (2.064           |Regression (2.064
                   |git-head): Recursive        |git-head): Recursive
                   |template expansion error    |template expansion error
                   |with -unittest switch       |


--- Comment #8 from Andrej Mitrovic <[email protected]> 2013-09-17 
04:17:37 PDT ---
Labeled it as a DMD bug, and without the need for -unittest. 
Reduced test-case:

-----
import std.string;
import std.typecons;

static assert(!__traits(compiles, [ tuple("foo", "bar", "baz")
].assocArray()));

enum E : string
{
    a = "a",
    b = "b"
}

void main()
{
    auto x = [E.a, E.b].join(" ");
}
-----

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

Reply via email to