{"action":"created","issue":{"url":"https://api.github.com/repos/elixirscript/elixirscript/issues/380","repository_url":"https://api.github.com/repos/elixirscript/elixirscript","labels_url":"https://api.github.com/repos/elixirscript/elixirscript/issues/380/labels{/name}","comments_url":"https://api.github.com/repos/elixirscript/elixirscript/issues/380/comments","events_url":"https://api.github.com/repos/elixirscript/elixirscript/issues/380/events","html_url":"https://github.com/elixirscript/elixirscript/issues/380","id":254898409,"number":380,"title":"using . (dot) reference syntax on a map fails when value is a function","user":{"login":"vans163","id":3028982,"avatar_url":"https://avatars3.githubusercontent.com/u/3028982?v=4","gravatar_id":"","url":"https://api.github.com/users/vans163","html_url":"https://github.com/vans163","followers_url":"https://api.github.com/users/vans163/followers","following_url":"https://api.github.com/users/vans163/following{/other_user}","gists_url":"https://api.github.com/users/vans163/gists{/gist_id}","starred_url":"https://api.github.com/users/vans163/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vans163/subscriptions","organizations_url":"https://api.github.com/users/vans163/orgs","repos_url":"https://api.github.com/users/vans163/repos","events_url":"https://api.github.com/users/vans163/events{/privacy}","received_events_url":"https://api.github.com/users/vans163/received_events","type":"User","site_admin":false},"labels":[{"id":172617145,"url":"https://api.github.com/repos/elixirscript/elixirscript/labels/kind:bug","name":"kind:bug","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-03T20:24:53Z","updated_at":"2017-09-04T13:47:18Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"```elixir\r\n#Good\r\nmap = %{test_map: 111}\r\nmap.test_map\r\n\r\n#Good\r\nmap = %{test_map: &Map.get/2}\r\nMap.get(map, :test_map)\r\n\r\n#Bad\r\nmap = %{test_map: &Map.get/2}\r\nmap.test_map\r\n\r\n#Uncaught MatchError: No match for: \r\n```\r\n\r\nNote that Map.get/2 still works in the Bad case."},"comment":{"url":"https://api.github.com/repos/elixirscript/elixirscript/issues/comments/326967588","html_url":"https://github.com/elixirscript/elixirscript/issues/380#issuecomment-326967588","issue_url":"https://api.github.com/repos/elixirscript/elixirscript/issues/380","id":326967588,"user":{"login":"bryanjos","id":1257573,"avatar_url":"https://avatars3.githubusercontent.com/u/1257573?v=4","gravatar_id":"","url":"https://api.github.com/users/bryanjos","html_url":"https://github.com/bryanjos","followers_url":"https://api.github.com/users/bryanjos/followers","following_url":"https://api.github.com/users/bryanjos/following{/other_user}","gists_url":"https://api.github.com/users/bryanjos/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanjos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanjos/subscriptions","organizations_url":"https://api.github.com/users/bryanjos/orgs","repos_url":"https://api.github.com/users/bryanjos/repos","events_url":"https://api.github.com/users/bryanjos/events{/privacy}","received_events_url":"https://api.github.com/users/bryanjos/received_events","type":"User","site_admin":false},"created_at":"2017-09-04T13:47:18Z","updated_at":"2017-09-04T13:47:18Z","author_association":"COLLABORATOR","body":"This may be a harder one to fix correctly. Since Elixir doesn't make a distinction between calling getting a field and calling a function with 0 arity, there is some code to try to handle those cases."}}
{"actor":{"display_login":"bryanjos"}}