std.data.json formal review

Sönke Ludwig via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 31 05:16:00 PDT 2015


Am 31.07.2015 um 10:13 schrieb Suliman:
> is the current build is ready for production? I am getting error:
>
> source\stdx\data\json\value.d(81): Error: safe function
> 'stdx.data.json.value.JSONValue.this' cannot call system function
> 'std.variant.VariantN!(12u, typeof(null), bool, double, long, BigInt,
> string, JSONValue[],
> JSONValue[string]).VariantN.__ctor!(typeof(null)).this'

2.068 "fixed" possible safety issues with VariantN by marking the 
interface @system instead of @trusted. Unfortunately that broke any 
@safe code using Variant/Algebraic.


More information about the Digitalmars-d mailing list