{"action":"created","issue":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/5020","repository_url":"https://api.github.com/repos/elixir-lang/elixir","labels_url":"https://api.github.com/repos/elixir-lang/elixir/issues/5020/labels{/name}","comments_url":"https://api.github.com/repos/elixir-lang/elixir/issues/5020/comments","events_url":"https://api.github.com/repos/elixir-lang/elixir/issues/5020/events","html_url":"https://github.com/elixir-lang/elixir/pull/5020","id":165951882,"number":5020,"title":"Fix syntax error in the supervisor.ex moduledoc example","user":{"login":"Stratus3D","id":1520926,"avatar_url":"https://avatars.githubusercontent.com/u/1520926?v=3","gravatar_id":"","url":"https://api.github.com/users/Stratus3D","html_url":"https://github.com/Stratus3D","followers_url":"https://api.github.com/users/Stratus3D/followers","following_url":"https://api.github.com/users/Stratus3D/following{/other_user}","gists_url":"https://api.github.com/users/Stratus3D/gists{/gist_id}","starred_url":"https://api.github.com/users/Stratus3D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stratus3D/subscriptions","organizations_url":"https://api.github.com/users/Stratus3D/orgs","repos_url":"https://api.github.com/users/Stratus3D/repos","events_url":"https://api.github.com/users/Stratus3D/events{/privacy}","received_events_url":"https://api.github.com/users/Stratus3D/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-16T23:16:01Z","updated_at":"2016-07-16T23:21:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elixir-lang/elixir/pulls/5020","html_url":"https://github.com/elixir-lang/elixir/pull/5020","diff_url":"https://github.com/elixir-lang/elixir/pull/5020.diff","patch_url":"https://github.com/elixir-lang/elixir/pull/5020.patch"},"body":"The first example in the supervisor.ex moduledoc (the `Stack` module and associated supervisor) has a call to `worker/2` with a list of two sublists. It should be a call to `worker/3` with the module name and two separate lists."},"comment":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/comments/233156238","html_url":"https://github.com/elixir-lang/elixir/pull/5020#issuecomment-233156238","issue_url":"https://api.github.com/repos/elixir-lang/elixir/issues/5020","id":233156238,"user":{"login":"josevalim","id":9582,"avatar_url":"https://avatars.githubusercontent.com/u/9582?v=3","gravatar_id":"","url":"https://api.github.com/users/josevalim","html_url":"https://github.com/josevalim","followers_url":"https://api.github.com/users/josevalim/followers","following_url":"https://api.github.com/users/josevalim/following{/other_user}","gists_url":"https://api.github.com/users/josevalim/gists{/gist_id}","starred_url":"https://api.github.com/users/josevalim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josevalim/subscriptions","organizations_url":"https://api.github.com/users/josevalim/orgs","repos_url":"https://api.github.com/users/josevalim/repos","events_url":"https://api.github.com/users/josevalim/events{/privacy}","received_events_url":"https://api.github.com/users/josevalim/received_events","type":"User","site_admin":false},"created_at":"2016-07-16T23:21:07Z","updated_at":"2016-07-16T23:21:07Z","body":"@Stratus3D the current code is correct. It is expecting to call `start_link(stack, opts)`, hence a list with two arguments. Maybe we should make the documentation clearer?"}}
{"actor":{"display_login":"josevalim"}}