← Back to index
|
Original Bugzilla link
Bug 13479 – [REG2.067a] Templates not emitted when instantiated in mixins mixed in functions
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-09-15T16:31:00Z
Last change time
2015-02-18T03:37:01Z
Keywords
link-failure, pull
Assigned to
nobody
Creator
dlang-bugzilla
Comments
Comment #0
by dlang-bugzilla — 2014-09-15T16:31:08Z
///// test.d ///// mixin template F() { void t()() { } alias t!() a; } void main() { mixin F!(); a(); } ////////////////// Linker complains: Symbol Undefined _D4test4mainFZ8__mixin16__T1tZ1tMFNaNbNiNfZv Introduced in
https://github.com/D-Programming-Language/dmd/pull/3948.
Possibly related to issue 13478?
Comment #1
by k.hara.pg — 2014-09-15T19:47:51Z
https://github.com/D-Programming-Language/dmd/pull/3991
Comment #2
by github-bugzilla — 2014-09-15T21:04:45Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/22ff2a531015b5330b9a095f028dc87e80df8fb2
fix Issue 13479 - Templates not emitted when instantiated in mixins mixed in functions In the PR #3948, I changed the position where `TemplateInstance`s are inserted.
https://github.com/D-Programming-Language/dmd/pull/3948/files#diff-0477a1d81a6a920c99362954179c59c8R5937
But, I didn't notice that glue-layer does not handle `TemplateInstance`s in local members.
https://github.com/D-Programming-Language/dmd/commit/fa25bae1f4384448a24473321da4261b9b830c3a
Merge pull request #3991 from 9rnsr/fix13479 [REG2.067a] Issue 13479 - Templates not emitted when instantiated in mixins mixed in functions
Comment #3
by github-bugzilla — 2015-02-18T03:37:01Z
Commits pushed to 2.067 at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/22ff2a531015b5330b9a095f028dc87e80df8fb2
fix Issue 13479 - Templates not emitted when instantiated in mixins mixed in functions
https://github.com/D-Programming-Language/dmd/commit/fa25bae1f4384448a24473321da4261b9b830c3a
Merge pull request #3991 from 9rnsr/fix13479