Skip to content

Commit

Permalink
Wrong exception message std.json
Browse files Browse the repository at this point in the history
  • Loading branch information
CromFr committed May 25, 2016
1 parent 2f124de commit 210d0f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/json.d
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ struct JSONValue
@property inout(JSONValue[]) arrayNoRef() inout pure @trusted
{
enforce!JSONException(type == JSON_TYPE.ARRAY,
"JSONValue is not an object");
"JSONValue is not an array");
return store.array;
}

Expand Down

0 comments on commit 210d0f7

Please sign in to comment.