Bug 9393 – Partial template specialization and template lambda does not work

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-01-25T00:02:00Z
Last change time
2013-04-23T01:13:12Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
k.hara.pg

Comments

Comment #0 by k.hara.pg — 2013-01-25T00:02:19Z
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); }
Comment #1 by k.hara.pg — 2013-01-25T00:12:16Z
Comment #2 by github-bugzilla — 2013-03-03T17:37:59Z
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
Comment #3 by k.hara.pg — 2013-04-23T01:13:12Z
*** Issue 8029 has been marked as a duplicate of this issue. ***