{"action":"created","issue":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/4859","repository_url":"https://api.github.com/repos/elixir-lang/elixir","labels_url":"https://api.github.com/repos/elixir-lang/elixir/issues/4859/labels{/name}","comments_url":"https://api.github.com/repos/elixir-lang/elixir/issues/4859/comments","events_url":"https://api.github.com/repos/elixir-lang/elixir/issues/4859/events","html_url":"https://github.com/elixir-lang/elixir/issues/4859","id":161838711,"number":4859,"title":"h helper fails on operators","user":{"login":"acangiano","id":1687,"avatar_url":"https://avatars.githubusercontent.com/u/1687?v=3","gravatar_id":"","url":"https://api.github.com/users/acangiano","html_url":"https://github.com/acangiano","followers_url":"https://api.github.com/users/acangiano/followers","following_url":"https://api.github.com/users/acangiano/following{/other_user}","gists_url":"https://api.github.com/users/acangiano/gists{/gist_id}","starred_url":"https://api.github.com/users/acangiano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acangiano/subscriptions","organizations_url":"https://api.github.com/users/acangiano/orgs","repos_url":"https://api.github.com/users/acangiano/repos","events_url":"https://api.github.com/users/acangiano/events{/privacy}","received_events_url":"https://api.github.com/users/acangiano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-23T04:39:40Z","updated_at":"2016-06-23T05:09:55Z","closed_at":null,"body":"### Environment\r\n\r\n* Elixir version: 1.3.0\r\n* Operating system: Both Mac OS X 10.11.5 and Windows 7.\r\n\r\n### Current behavior\r\n\r\nh's introspection fails on operators. Example:\r\n\r\n    iex(1)> h ==/2\r\n    ** (FunctionClauseError) no function clause matching in IEx.Introspection.has_content?/1\r\n           (iex) lib/iex/introspection.ex:142: IEx.Introspection.has_content?(nil)\r\n           (iex) lib/iex/introspection.ex:127: IEx.Introspection.find_doc/3\r\n           (iex) lib/iex/introspection.ex:109: IEx.Introspection.h_mod_fun_arity/3\r\n           (iex) lib/iex/introspection.ex:86: anonymous fn/3 in IEx.Introspection.h/3\r\n        (elixir) lib/enum.ex:2510: Enum.do_any?/2\r\n           (iex) lib/iex/introspection.ex:85: IEx.Introspection.h/3\r\n\r\n`h div/2` and `h rem/2` are also affected, but not `h div` or `h rem`.\r\n\r\n### Expected behavior\r\n\r\nHelp information about the operator or function.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/comments/227951340","html_url":"https://github.com/elixir-lang/elixir/issues/4859#issuecomment-227951340","issue_url":"https://api.github.com/repos/elixir-lang/elixir/issues/4859","id":227951340,"user":{"login":"milmazz","id":34700,"avatar_url":"https://avatars.githubusercontent.com/u/34700?v=3","gravatar_id":"","url":"https://api.github.com/users/milmazz","html_url":"https://github.com/milmazz","followers_url":"https://api.github.com/users/milmazz/followers","following_url":"https://api.github.com/users/milmazz/following{/other_user}","gists_url":"https://api.github.com/users/milmazz/gists{/gist_id}","starred_url":"https://api.github.com/users/milmazz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milmazz/subscriptions","organizations_url":"https://api.github.com/users/milmazz/orgs","repos_url":"https://api.github.com/users/milmazz/repos","events_url":"https://api.github.com/users/milmazz/events{/privacy}","received_events_url":"https://api.github.com/users/milmazz/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T05:09:55Z","updated_at":"2016-06-23T05:09:55Z","body":"If you try `h Kernel.div/2` it works, seems to be missing a matching clause in `has_content?`. I'll try to fix it."}}
{"actor":{"display_login":"milmazz"}}