{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/10020","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/10020/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/10020/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/10020/events","html_url":"https://github.com/JuliaLang/julia/issues/10020","id":56253435,"number":10020,"title":"`x in ENV` always false ","user":{"login":"ggggggggg","id":5192577,"avatar_url":"https://avatars.githubusercontent.com/u/5192577?v=3","gravatar_id":"","url":"https://api.github.com/users/ggggggggg","html_url":"https://github.com/ggggggggg","followers_url":"https://api.github.com/users/ggggggggg/followers","following_url":"https://api.github.com/users/ggggggggg/following{/other_user}","gists_url":"https://api.github.com/users/ggggggggg/gists{/gist_id}","starred_url":"https://api.github.com/users/ggggggggg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggggggggg/subscriptions","organizations_url":"https://api.github.com/users/ggggggggg/orgs","repos_url":"https://api.github.com/users/ggggggggg/repos","events_url":"https://api.github.com/users/ggggggggg/events{/privacy}","received_events_url":"https://api.github.com/users/ggggggggg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/won't%20fix","name":"won't fix","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-02T15:54:04Z","updated_at":"2015-02-02T16:57:00Z","closed_at":"2015-02-02T16:34:05Z","body":"I'm not sure how, since `in(k::AbstractString, ::KeyIterator{EnvHash}) = _hasenv(k)` is in https://github.com/JuliaLang/julia/blob/a2c3206b4c733648a3c2c4417ffa8b2dc873ddb3/base/env.jl#L101.\r\n```julia\r\njulia> Base._hasenv(\"SHELL\")\r\ntrue\r\njulia> \"SHELL\" in ENV\r\nfalse\r\njulia> in(\"SHELL\", ENV)\r\nfalse\r\njulia> @which(\"SHELL\" in ENV)\r\nin(x,itr) at reduce.jl:342\r\n```\r\nI checked it on 3.5 and 0.4.0-dev+3052."},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/72492707","html_url":"https://github.com/JuliaLang/julia/issues/10020#issuecomment-72492707","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/10020","id":72492707,"user":{"login":"quinnj","id":2896623,"avatar_url":"https://avatars.githubusercontent.com/u/2896623?v=3","gravatar_id":"","url":"https://api.github.com/users/quinnj","html_url":"https://github.com/quinnj","followers_url":"https://api.github.com/users/quinnj/followers","following_url":"https://api.github.com/users/quinnj/following{/other_user}","gists_url":"https://api.github.com/users/quinnj/gists{/gist_id}","starred_url":"https://api.github.com/users/quinnj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quinnj/subscriptions","organizations_url":"https://api.github.com/users/quinnj/orgs","repos_url":"https://api.github.com/users/quinnj/repos","events_url":"https://api.github.com/users/quinnj/events{/privacy}","received_events_url":"https://api.github.com/users/quinnj/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T16:56:59Z","updated_at":"2015-02-02T16:56:59Z","body":"Don't forget Pairs as well. (i.e. in(a::Pair, b::Dict) should be valid)\r\n\r\nOn Mon, Feb 2, 2015 at 9:55 AM, Ivar Nesje <notifications@github.com> wrote:\r\n\r\n> It feels like testing in(a::T, b::Dict) where T is not a Tuple with 2\r\n> fields could be an error with a suggestion?\r\n>\r\n> —\r\n> Reply to this email directly or view it on GitHub\r\n> <https://github.com/JuliaLang/julia/issues/10020#issuecomment-72492298>.\r\n>"}}