← Back to index
|
Original Bugzilla link
Bug 12266 – Regression (2.065): Header generation produces uncompilable header
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-02-26T05:11:00Z
Last change time
2014-03-07T19:53:22Z
Keywords
pull, wrong-code
Assigned to
nobody
Creator
andrej.mitrovich
Comments
Comment #0
by andrej.mitrovich — 2014-02-26T05:11:51Z
----- auto clamp(T1, T2, T3)(T1 x, T2 min_val, T3 max_val) { return 0; } ----- DMD 2.064: $ dmd -H -o- test.d $ type test.di > // D import file generated from 'test.d' > module test; > template clamp(T1, T2, T3) > { > auto clamp(T1 x, T2 min_val, T3 max_val) > { > return 0; > } > > } DMD 2.065: $ dmd -H -o- test.d $ type test.di > module test; > clamp(T1, T2, T3)(T1 x, T2 min_val, T3 max_val) > { > return 0; > }
Comment #1
by dlang-bugzilla — 2014-02-26T05:33:22Z
Introduced in
https://github.com/D-Programming-Language/dmd/pull/2649
Comment #2
by k.hara.pg — 2014-03-05T07:39:38Z
https://github.com/D-Programming-Language/dmd/pull/3360
Comment #3
by github-bugzilla — 2014-03-07T17:03:14Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/364f2e5345833d8367940e77ed751130e2c41a32
fix Issue 12266 - Header generation produces uncompilable header
https://github.com/D-Programming-Language/dmd/commit/b509e9daab583e82458b9d63d5a0c0fdacf06ef7
Merge pull request #3360 from 9rnsr/fix12266 [REG2.065] Issue 12266 - Header generation produces uncompilable header