{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/30115","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/30115/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/30115/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/30115/events","html_url":"https://github.com/JuliaLang/julia/issues/30115","id":383284237,"node_id":"MDU6SXNzdWUzODMyODQyMzc=","number":30115,"title":"(;) returns nothing rather than empty named tuple","user":{"login":"piever","id":6333339,"node_id":"MDQ6VXNlcjYzMzMzMzk=","avatar_url":"https://avatars3.githubusercontent.com/u/6333339?v=4","gravatar_id":"","url":"https://api.github.com/users/piever","html_url":"https://github.com/piever","followers_url":"https://api.github.com/users/piever/followers","following_url":"https://api.github.com/users/piever/following{/other_user}","gists_url":"https://api.github.com/users/piever/gists{/gist_id}","starred_url":"https://api.github.com/users/piever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piever/subscriptions","organizations_url":"https://api.github.com/users/piever/orgs","repos_url":"https://api.github.com/users/piever/repos","events_url":"https://api.github.com/users/piever/events{/privacy}","received_events_url":"https://api.github.com/users/piever/received_events","type":"User","site_admin":false},"labels":[{"id":97636,"node_id":"MDU6TGFiZWw5NzYzNg==","url":"https://api.github.com/repos/JuliaLang/julia/labels/bug","name":"bug","color":"e10c02","default":true},{"id":1056009044,"node_id":"MDU6TGFiZWwxMDU2MDA5MDQ0","url":"https://api.github.com/repos/JuliaLang/julia/labels/minor%20change","name":"minor change","color":"a05255","default":false},{"id":163368715,"node_id":"MDU6TGFiZWwxNjMzNjg3MTU=","url":"https://api.github.com/repos/JuliaLang/julia/labels/parser","name":"parser","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":{"login":"JeffBezanson","id":744556,"node_id":"MDQ6VXNlcjc0NDU1Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/744556?v=4","gravatar_id":"","url":"https://api.github.com/users/JeffBezanson","html_url":"https://github.com/JeffBezanson","followers_url":"https://api.github.com/users/JeffBezanson/followers","following_url":"https://api.github.com/users/JeffBezanson/following{/other_user}","gists_url":"https://api.github.com/users/JeffBezanson/gists{/gist_id}","starred_url":"https://api.github.com/users/JeffBezanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeffBezanson/subscriptions","organizations_url":"https://api.github.com/users/JeffBezanson/orgs","repos_url":"https://api.github.com/users/JeffBezanson/repos","events_url":"https://api.github.com/users/JeffBezanson/events{/privacy}","received_events_url":"https://api.github.com/users/JeffBezanson/received_events","type":"User","site_admin":false},"assignees":[{"login":"JeffBezanson","id":744556,"node_id":"MDQ6VXNlcjc0NDU1Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/744556?v=4","gravatar_id":"","url":"https://api.github.com/users/JeffBezanson","html_url":"https://github.com/JeffBezanson","followers_url":"https://api.github.com/users/JeffBezanson/followers","following_url":"https://api.github.com/users/JeffBezanson/following{/other_user}","gists_url":"https://api.github.com/users/JeffBezanson/gists{/gist_id}","starred_url":"https://api.github.com/users/JeffBezanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeffBezanson/subscriptions","organizations_url":"https://api.github.com/users/JeffBezanson/orgs","repos_url":"https://api.github.com/users/JeffBezanson/repos","events_url":"https://api.github.com/users/JeffBezanson/events{/privacy}","received_events_url":"https://api.github.com/users/JeffBezanson/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-11-21T20:37:22Z","updated_at":"2018-11-28T19:46:51Z","closed_at":null,"author_association":"NONE","body":"Intuitively I would have imagined that `(;)` would be the syntax for the empty `NamedTuple`, whereas it returns `nothing` instead. After posting it on slack it seems that the rationale is that it is parsing as a concatenation of expressions. For example `(1;)` returns `1`, so `(;)` should return the value of the first expression which is `nothing`.\r\n\r\nI'm not sure which is more intuitive but maybe it could be changed to return `NamedTuple()`. The change in technically breaking though I imagine in practice very little code will rely on `(;) === nothing`"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/442580118","html_url":"https://github.com/JuliaLang/julia/issues/30115#issuecomment-442580118","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/30115","id":442580118,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjU4MDExOA==","user":{"login":"JeffBezanson","id":744556,"node_id":"MDQ6VXNlcjc0NDU1Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/744556?v=4","gravatar_id":"","url":"https://api.github.com/users/JeffBezanson","html_url":"https://github.com/JeffBezanson","followers_url":"https://api.github.com/users/JeffBezanson/followers","following_url":"https://api.github.com/users/JeffBezanson/following{/other_user}","gists_url":"https://api.github.com/users/JeffBezanson/gists{/gist_id}","starred_url":"https://api.github.com/users/JeffBezanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeffBezanson/subscriptions","organizations_url":"https://api.github.com/users/JeffBezanson/orgs","repos_url":"https://api.github.com/users/JeffBezanson/repos","events_url":"https://api.github.com/users/JeffBezanson/events{/privacy}","received_events_url":"https://api.github.com/users/JeffBezanson/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T19:46:50Z","updated_at":"2018-11-28T19:46:50Z","author_association":"MEMBER","body":"I'm not sure; I guess it's (slightly) breaking either way, so maybe it's equally good/bad to just switch it directly to an empty named tuple?"}}
{"actor":{"display_login":"JeffBezanson"}}