[Issue 12676] alias parameter attempts to interpret symbol

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Apr 30 02:49:31 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12676

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #4 from Andrej Mitrovic <andrej.mitrovich at gmail.com> ---
Ok, the OP example wasn't supported, but this must be a bug:

-----
template Templ1() { }

template Templ2
(
    alias T : Templ1 = Templ1,
) { }
-----

test.d(5): Error: Cannot interpret Templ1() at compile time

--


More information about the Digitalmars-d-bugs mailing list