[Issue 1884] manifest constants for strings

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 26 06:35:20 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=1884


sardonicpresence at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sardonicpresence at gmail.com




------- Comment #4 from sardonicpresence at gmail.com  2008-03-26 08:35 -------
What I assume is the same issue still occurs within structs as of 2.012 e.g.

//-----------------
import std.stdio;

struct Test
{
  public string Text;
}

enum Test test = { Text: "test" };

void main()
{
  std.stdio.writefln(test);
}
//-----------------

This results in the following output:

' âA ÓâA `äA ►ëA └ëA  øA á£A ►×A ǃA  ñA ­ñA ­ªA '


-- 



More information about the Digitalmars-d-bugs mailing list