D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 15336 - std.json: opIn undocumented for JSONValue
Summary: std.json: opIn undocumented for JSONValue
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: x86_64 Linux
: P1 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-14 18:55 UTC by Neia Neutuladh
Modified: 2016-01-03 14:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Neia Neutuladh 2015-11-14 18:55:33 UTC
JSONValue isn't documented to support the "in" operator. The source code apparently reveals that it does. Since normal people believe the documentation and don't automatically go to the source code first, it looks to all the world like this rather essential feature isn't there.

Please document this.
Comment 1 github-bugzilla 2015-12-07 19:08:00 UTC
Commit pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/e60c9dcf18b1b42d3b131840f975f1588ce6761d
Merge pull request #3857 from BBasile/issue-15336

fix issue 15336, opIn undocumented for JSONValue
Comment 2 github-bugzilla 2016-01-03 14:15:12 UTC
Commit pushed to stable at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/e60c9dcf18b1b42d3b131840f975f1588ce6761d
Merge pull request #3857 from BBasile/issue-15336