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.

Reply via email to