Strange 'memset' error when using std.range.repeat and std.array.array

tcak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 4 04:00:32 PST 2016


On Monday, 4 January 2016 at 10:50:17 UTC, Ur at nuz wrote:
> Sorry, the actual code is:
> ...
>
> lines ~= ' '.repeat.take(newIndentCount).array;
>
> ...with character quotes. But it still fails with error 
> described in stack trace in Gcx.bigAlloc()

What's your OS? On Linux x64, it works without any error.


More information about the Digitalmars-d-learn mailing list