[Issue 11053] Regression (2.064 git-head): Recursive template expansion error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 17 04:17:39 PDT 2013


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Phobos                      |DMD
         AssignedTo|andrej.mitrovich at gmail.com  |nobody at puremagic.com
            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 <andrej.mitrovich at gmail.com> 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: -------


More information about the Digitalmars-d-bugs mailing list