Phobos Wish List/Next in Review Queue?

Adam D. Ruppe destructionator at gmail.com
Sun Nov 20 09:24:36 PST 2011


Jimmy Cao Wrote:
> The biggest thing impairing std.json imo is this bug:
> http://d.puremagic.com/issues/show_bug.cgi?id=2962

Note you can work around that with this.

Create a file called icehack.d:
module icehack;
import std.json;
static if(__traits(compiles, parseJSON("hello"))) {}


then on your compile command line, put this first:

dmd icehack.d [the rest of your arguments]


and it works. Really annoying but fairly simple workaround
anyway.


More information about the Digitalmars-d mailing list