Thread overview
[Issue 9393] New: Partial template specialization and template lambda does not work
Jan 25, 2013
Kenji Hara
Jan 25, 2013
Kenji Hara
Mar 04, 2013
Walter Bright
Apr 23, 2013
Kenji Hara
January 25, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9393

           Summary: Partial template specialization and template lambda
                    does not work
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: k.hara.pg@gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg@gmail.com> 2013-01-25 00:02:19 PST ---
This code should work.

template ifThrown1(E) {
    void ifThrown1(T)(scope T delegate(E) errHandler) {}
}
void ifThrown2(E, T)(scope T delegate(E) errHandler) {}
void main() {
    ifThrown1!Exception(e => 10);
    ifThrown2!Exception(e => 10);
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 25, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9393


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-01-25 00:12:16 PST ---
https://github.com/D-Programming-Language/dmd/pull/1550

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



--- Comment #2 from github-bugzilla@puremagic.com 2013-03-03 17:37:59 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/5af207f4650f8ca66da5f824a201c300fbd9342e
fix Issue 9393 - Partial template specialization and template lambda does not
work

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


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 23, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9393


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |johnch_atms@hotmail.com


--- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> 2013-04-23 01:13:12 PDT ---
*** Issue 8029 has been marked as a duplicate of this issue. ***

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