Thread overview
[Issue 7698] New: can't specialize parameterized template value
Mar 13, 2012
dawg@dawgfoto.de
Mar 22, 2012
dawg@dawgfoto.de
March 13, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7698

           Summary: can't specialize parameterized template value
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: dawg@dawgfoto.de


--- Comment #0 from dawg@dawgfoto.de 2012-03-13 04:13:01 PDT ---
cat > bug.d << CODE
template foo(T, T val : 0) { }
alias foo!(int, 0) fooi0;
CODE

dmd -c bug

--------

bug.d(2): Error: forward reference to type T
bug.d(2): Error: cannot implicitly convert expression (0) of type int to T

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 16, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7698



--- Comment #1 from github-bugzilla@puremagic.com 2012-03-15 21:42:58 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/42fa3d6d13d98343cc73f2de5ab7c1cc0aa11db9 Merge pull request #807 from dawgfoto/fix7698

fix issue 7698

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 22, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7698


dawg@dawgfoto.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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