{"action":"closed","issue":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/4935","repository_url":"https://api.github.com/repos/elixir-lang/elixir","labels_url":"https://api.github.com/repos/elixir-lang/elixir/issues/4935/labels{/name}","comments_url":"https://api.github.com/repos/elixir-lang/elixir/issues/4935/comments","events_url":"https://api.github.com/repos/elixir-lang/elixir/issues/4935/events","html_url":"https://github.com/elixir-lang/elixir/issues/4935","id":163579389,"number":4935,"title":"Return value of OptionParser.parse!/2 and OptionParser.parse_head!/2 differ from their counterparts without exclamation point","user":{"login":"robi-wan","id":30210,"avatar_url":"https://avatars.githubusercontent.com/u/30210?v=3","gravatar_id":"","url":"https://api.github.com/users/robi-wan","html_url":"https://github.com/robi-wan","followers_url":"https://api.github.com/users/robi-wan/followers","following_url":"https://api.github.com/users/robi-wan/following{/other_user}","gists_url":"https://api.github.com/users/robi-wan/gists{/gist_id}","starred_url":"https://api.github.com/users/robi-wan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robi-wan/subscriptions","organizations_url":"https://api.github.com/users/robi-wan/orgs","repos_url":"https://api.github.com/users/robi-wan/repos","events_url":"https://api.github.com/users/robi-wan/events{/privacy}","received_events_url":"https://api.github.com/users/robi-wan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-07-03T20:54:02Z","updated_at":"2016-07-03T21:51:03Z","closed_at":"2016-07-03T21:51:03Z","body":"### Environment\r\n\r\n```\r\n$ elixir -v\r\nErlang/OTP 18 [erts-7.3] [64-bit] [smp:8:8] [async-threads:10]\r\n\r\nElixir 1.3.1\r\n```\r\n* Operating system:\r\nWindows 7 Professional 64bit \r\n\r\n### Current behavior\r\n\r\nThe number of element in the returned tuples differ:\r\n\r\n```\r\n$ iex\r\nEshell V7.3  (abort with ^G)\r\nInteractive Elixir (1.3.1) - press Ctrl+C to exit (type h() ENTER for help)\r\niex(2)> OptionParser.parse([])\r\n{[], [], []}\r\niex(3)> OptionParser.parse!([])\r\n{[], []}\r\niex(4)> OptionParser.parse_head([])\r\n{[], [], []}\r\niex(5)> OptionParser.parse_head!([])\r\n{[], []}\r\niex(6)>\r\n```\r\n### Expected behavior\r\n\r\nThe number of the elements in the returned tuples are the same. This behavior is also described in the documentation.\r\n\r\n\r\nI think [this commit](https://github.com/elixir-lang/elixir/commit/91aa29d1b47a110572b45bb846453a87fac519b7) introduced this behavior."}}
{"actor":{"display_login":"whatyouhide"}}