[Issue 9074] Can't use range functions with Appender

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Apr 24 12:10:02 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=9074

--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> ---
Different error now:

-----
C:\dmd-git\dmd2\windows\bin\..\..\src\phobos\std\conv.d(3873): Error: static
assert  "immutable(char) cannot be emplaced from a string."
C:\dmd-git\dmd2\windows\bin\..\..\src\phobos\std\array.d(2522):       
instantiated from here: emplaceRef!string
test.d(9):        instantiated from here: put!(Take!(Repeat!string))
-----

Anyone has ideas how to fix this (or if it should be fixed?).

--


More information about the Digitalmars-d-bugs mailing list