Skip to content

Commit

Permalink
Merge pull request #4360 from CromFr/master
Browse files Browse the repository at this point in the history
Wrong exception message in std.json
  • Loading branch information
burner committed May 25, 2016
2 parents 2f124de + 210d0f7 commit 53fa4b2
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 53fa4b2

Please sign in to comment.