{"action":"created","issue":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/4596","repository_url":"https://api.github.com/repos/elixir-lang/elixir","labels_url":"https://api.github.com/repos/elixir-lang/elixir/issues/4596/labels{/name}","comments_url":"https://api.github.com/repos/elixir-lang/elixir/issues/4596/comments","events_url":"https://api.github.com/repos/elixir-lang/elixir/issues/4596/events","html_url":"https://github.com/elixir-lang/elixir/issues/4596","id":153646319,"number":4596,"title":"Make alias, import and require return the module given instead of nil","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},"labels":[{"url":"https://api.github.com/repos/elixir-lang/elixir/labels/Kind:Enhancement","name":"Kind:Enhancement","color":"009800"},{"url":"https://api.github.com/repos/elixir-lang/elixir/labels/Level:Intermediate","name":"Level:Intermediate","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-08T09:37:15Z","updated_at":"2016-05-08T13:02:46Z","closed_at":null,"body":"Instead of:\r\n\r\n```iex\r\niex> alias Foo\r\nnil\r\n```\r\n\r\nwe want:\r\n\r\n```iex\r\niex> alias Foo\r\nFoo\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/comments/217717042","html_url":"https://github.com/elixir-lang/elixir/issues/4596#issuecomment-217717042","issue_url":"https://api.github.com/repos/elixir-lang/elixir/issues/4596","id":217717042,"user":{"login":"michalmuskala","id":477062,"avatar_url":"https://avatars.githubusercontent.com/u/477062?v=3","gravatar_id":"","url":"https://api.github.com/users/michalmuskala","html_url":"https://github.com/michalmuskala","followers_url":"https://api.github.com/users/michalmuskala/followers","following_url":"https://api.github.com/users/michalmuskala/following{/other_user}","gists_url":"https://api.github.com/users/michalmuskala/gists{/gist_id}","starred_url":"https://api.github.com/users/michalmuskala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalmuskala/subscriptions","organizations_url":"https://api.github.com/users/michalmuskala/orgs","repos_url":"https://api.github.com/users/michalmuskala/repos","events_url":"https://api.github.com/users/michalmuskala/events{/privacy}","received_events_url":"https://api.github.com/users/michalmuskala/received_events","type":"User","site_admin":false},"created_at":"2016-05-08T13:02:46Z","updated_at":"2016-05-08T13:02:46Z","body":"What should be returned in case of the multi-syntax?\r\n\r\n```elixir\r\nalias Foo.{Bar, Baz}\r\n```"}}