{"action":"created","issue":{"url":"https://api.github.com/repos/cosmos72/gomacro/issues/18","repository_url":"https://api.github.com/repos/cosmos72/gomacro","labels_url":"https://api.github.com/repos/cosmos72/gomacro/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/cosmos72/gomacro/issues/18/comments","events_url":"https://api.github.com/repos/cosmos72/gomacro/issues/18/events","html_url":"https://github.com/cosmos72/gomacro/issues/18","id":316625594,"number":18,"title":"improve arithmetic on untyped floating point and complex constants","user":{"login":"cosmos72","id":1947270,"avatar_url":"https://avatars1.githubusercontent.com/u/1947270?v=4","gravatar_id":"","url":"https://api.github.com/users/cosmos72","html_url":"https://github.com/cosmos72","followers_url":"https://api.github.com/users/cosmos72/followers","following_url":"https://api.github.com/users/cosmos72/following{/other_user}","gists_url":"https://api.github.com/users/cosmos72/gists{/gist_id}","starred_url":"https://api.github.com/users/cosmos72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosmos72/subscriptions","organizations_url":"https://api.github.com/users/cosmos72/orgs","repos_url":"https://api.github.com/users/cosmos72/repos","events_url":"https://api.github.com/users/cosmos72/events{/privacy}","received_events_url":"https://api.github.com/users/cosmos72/received_events","type":"User","site_admin":false},"labels":[{"id":740405881,"url":"https://api.github.com/repos/cosmos72/gomacro/labels/limitation","name":"limitation","color":"fbea04","default":false}],"state":"closed","locked":false,"assignee":{"login":"cosmos72","id":1947270,"avatar_url":"https://avatars1.githubusercontent.com/u/1947270?v=4","gravatar_id":"","url":"https://api.github.com/users/cosmos72","html_url":"https://github.com/cosmos72","followers_url":"https://api.github.com/users/cosmos72/followers","following_url":"https://api.github.com/users/cosmos72/following{/other_user}","gists_url":"https://api.github.com/users/cosmos72/gists{/gist_id}","starred_url":"https://api.github.com/users/cosmos72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosmos72/subscriptions","organizations_url":"https://api.github.com/users/cosmos72/orgs","repos_url":"https://api.github.com/users/cosmos72/repos","events_url":"https://api.github.com/users/cosmos72/events{/privacy}","received_events_url":"https://api.github.com/users/cosmos72/received_events","type":"User","site_admin":false},"assignees":[{"login":"cosmos72","id":1947270,"avatar_url":"https://avatars1.githubusercontent.com/u/1947270?v=4","gravatar_id":"","url":"https://api.github.com/users/cosmos72","html_url":"https://github.com/cosmos72","followers_url":"https://api.github.com/users/cosmos72/followers","following_url":"https://api.github.com/users/cosmos72/following{/other_user}","gists_url":"https://api.github.com/users/cosmos72/gists{/gist_id}","starred_url":"https://api.github.com/users/cosmos72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosmos72/subscriptions","organizations_url":"https://api.github.com/users/cosmos72/orgs","repos_url":"https://api.github.com/users/cosmos72/repos","events_url":"https://api.github.com/users/cosmos72/events{/privacy}","received_events_url":"https://api.github.com/users/cosmos72/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-04-23T00:07:54Z","updated_at":"2018-04-26T20:39:07Z","closed_at":"2018-04-26T20:39:07Z","author_association":"OWNER","body":"complex() of untyped constants should return an untyped complex, not a complex128:\r\n```\r\ngomacro> complex(1,2)\r\n(1+2i)\t// complex128\r\n```\r\nshould return instead `(1+2i)\t// untyped.Lit`\r\n\r\nsimilarly, << of untyped floats exactly representable as untyped ints should not fail, see https://golang.org/ref/spec#Constant_expressions\r\n```\r\ngomacro> 1<<3.0\r\nrepl.go:1:4: invalid shift: 1 << 3\r\n```\r\nshould return instead `{int 8} // untyped.Lit`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cosmos72/gomacro/issues/comments/384781461","html_url":"https://github.com/cosmos72/gomacro/issues/18#issuecomment-384781461","issue_url":"https://api.github.com/repos/cosmos72/gomacro/issues/18","id":384781461,"user":{"login":"cosmos72","id":1947270,"avatar_url":"https://avatars1.githubusercontent.com/u/1947270?v=4","gravatar_id":"","url":"https://api.github.com/users/cosmos72","html_url":"https://github.com/cosmos72","followers_url":"https://api.github.com/users/cosmos72/followers","following_url":"https://api.github.com/users/cosmos72/following{/other_user}","gists_url":"https://api.github.com/users/cosmos72/gists{/gist_id}","starred_url":"https://api.github.com/users/cosmos72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosmos72/subscriptions","organizations_url":"https://api.github.com/users/cosmos72/orgs","repos_url":"https://api.github.com/users/cosmos72/repos","events_url":"https://api.github.com/users/cosmos72/events{/privacy}","received_events_url":"https://api.github.com/users/cosmos72/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T20:39:07Z","updated_at":"2018-04-26T20:39:07Z","author_association":"OWNER","body":"fixed in 9e05152c8c6a85abc97a1410308090ff853c604b"}}
{"actor":{"display_login":"cosmos72"}}