Code



Compilation output:

/d702/f354.d(9): Deprecation: catch statement without an exception specification is deprecated; use catch(Throwable) for old behavior


Application error:

std.json.JSONException@std/json.d(248): JSONValue is not an object ---------------- ??:? pure @safe void std.exception.bailOut!(std.json.JSONException).bailOut(immutable(char)[], ulong, const(char[])) [0x4518e5] ??:? pure @safe bool std.exception.enforce!(std.json.JSONException, bool).enforce(bool, lazy const(char)[], immutable(char)[], ulong) [0x451861] ??:? std.json.JSONValue.objectNoRefinout(pure @property @trusted inout(std.json.JSONValue[immutable(char)[]]) function()) [0x443c5d] ??:? std.json.JSONValue.opIndexinout(pure ref @safe inout(std.json.JSONValue) function(immutable(char)[])) [0x443e40] ??:? _Dmain [0x440c2d] ??:? _D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv [0x441573] ??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) [0x44149b] ??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll() [0x441518] ??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) [0x44149b] ??:? _d_run_main [0x441407] ??:? main [0x440d1b] ??:? __libc_start_main [0x40d80a14]

Paste info


Author: Guest
Views: 23
Private: no
Expires: Never
Uploaded: 20.03.17 20:42
Votes: 0

Compilation


Compiler: DMD 2.073.2 ( 2.073.2 )
Pointer size: m64

Actions