Bug 14985 – [REG2.068.1-b1] Link failure for const TypeInfo of speculative instantiated struct

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-08-31T01:38:00Z
Last change time
2015-09-02T04:10:21Z
Keywords
link-failure
Assigned to
nobody
Creator
k.hara.pg

Comments

Comment #0 by k.hara.pg — 2015-08-31T01:38:46Z
Introduced in: https://github.com/D-Programming-Language/dmd/pull/4944 Mentioned by Martin Nowak: https://github.com/D-Programming-Language/dmd/pull/4944#issuecomment-136210663 import std.file; struct Only(T) { private T _val; } auto only(V)(V v) { return Only!V(v); } static struct Chain(R...) { R source; } auto chain(R...)(R rs) { return Chain!R(rs); } void main() { string docRoot; chain( dirEntries(docRoot , "*.*" , SpanMode.shallow), only(docRoot) ); }
Comment #1 by github-bugzilla — 2015-08-31T03:44:17Z
Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/7946344223863e67493695247d38cbb03db82cd6 fix Issue 14985 - Link failure for const TypeInfo of speculative instantiated struct https://github.com/D-Programming-Language/dmd/commit/ce8e6d13cc82a8c9c175d4db9967f29dbd0d96e7 Merge pull request #4995 from 9rnsr/fix14985 [REG2.068.1-b1] Issue 14985 - Link failure for const TypeInfo of speculative instantiated struct
Comment #2 by github-bugzilla — 2015-09-02T04:10:21Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/7946344223863e67493695247d38cbb03db82cd6 fix Issue 14985 - Link failure for const TypeInfo of speculative instantiated struct https://github.com/D-Programming-Language/dmd/commit/ce8e6d13cc82a8c9c175d4db9967f29dbd0d96e7 Merge pull request #4995 from 9rnsr/fix14985