D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 11127 - std.range.cycle linker errors
Summary: std.range.cycle linker errors
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86 Windows
: P2 regression
Assignee: No Owner
URL:
Keywords: pull, rejects-valid
Depends on:
Blocks:
 
Reported: 2013-09-26 12:34 UTC by bearophile_hugs
Modified: 2013-09-29 23:32 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bearophile_hugs 2013-09-26 12:34:34 UTC
import std.range: cycle;
void main() {
    cycle([1, 2]);
}




A dmd 2.064alpha gives:

OPTLINK (R) for Win32  Release 8.00.12
Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
temp.obj(temp) 
 Error 42: Symbol Undefined _D3std5range13__T5CycleTAiZ5Cycle11__xopEqualsFKxS3std5range13__T5CycleTAiZ5CycleKxS3std5range13__T5CycleTAiZ5CycleZb
temp.obj(temp) 
 Error 42: Symbol Undefined _D3std5range13__T5CycleTAiZ5Cycle6__ctorMFNaNbNcNfAikZS3std5range13__T5CycleTAiZ5Cycle
temp.obj(temp) 
 Error 42: Symbol Undefined _D3std5range42__T4TakeTS€Š–13€ƒ–5CycleTAiZ€†ŠZ€…§11__xopEqualsFKx€‹¶€±Ì€¾¾Zb
Comment 2 github-bugzilla 2013-09-29 23:32:18 UTC
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/af361175b4b4dfd23803156165695e5759cde1eb
fix Issue 11127 - std.range.cycle linker errors

https://github.com/D-Programming-Language/dmd/commit/49797979dd99b63b4362e775ab43f04bbc76d496
Merge pull request #2590 from 9rnsr/fix11127

[REG2.064a] Issue 11127 - std.range.cycle linker errors