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



--- Comment #4 from [email protected] 2013-09-11 03:53:37 PDT ---
(In reply to comment #3)
> I think I know what might be the culprit. May I request you try it with HEAD
> again, but this time, replace:
> line 829-832:
> // generate a switch statement with string literals instead of allocating
> memory
> // @@@BUG@@@ 10950 workaround: [CTFE] enum "char[]" not correctly duplicated
> when used.
> enum rep(S val) = mixin(format(`"%s"%s`,
>     toStr!string(val), charLiteralSuffix!(ElementEncodingType!T))); 
> 
> With:
> template rep(S val)
> {
>     static immutable(T) rep = toStr!(immutable(T))(val);
> }

I tried it, but you are wrong.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to