← Back to index
|
Original Bugzilla link
Bug 10166 – XXX is not a template
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-05-25T00:21:00Z
Last change time
2013-05-25T17:21:50Z
Assigned to
nobody
Creator
deadalnix
Comments
Comment #0
by deadalnix — 2013-05-25T00:21:48Z
See cod below : auto foo() { 0.bar!({})(0); } void bar(alias handler, T)(T t, int i) { t.bar!buzz(i); } void buzz(){} Compile with dmd 2.062. With dmd 2.063 : bug.d(7): Error: function bug.bar!(function void() { } , int).bar is not a template bug.d(3): Error: template instance bug.bar!(function void() { } , int) error instantiating
Comment #1
by bugzilla — 2013-05-25T01:43:49Z
https://github.com/D-Programming-Language/dmd/pull/2075
Comment #2
by github-bugzilla — 2013-05-25T17:18:06Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/ad4087b188acc3b7a161a19a3309e70dfedb6790
fix Issue 10166 - XXX is not a template
https://github.com/D-Programming-Language/dmd/commit/24cbea3e3bf4490ee258a0a5749b6a612a86c6b8
Merge pull request #2075 from 9rnsr/fix10166 [REG2.063a] Issue 10166 - XXX is not a template
Comment #3
by github-bugzilla — 2013-05-25T17:19:14Z
Commit pushed to 2.063 at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/2e2c87f05b7acd93302fd47370b7338fdbce27e5
Merge pull request #2075 from 9rnsr/fix10166 [REG2.063a] Issue 10166 - XXX is not a template