{"action":"created","issue":{"url":"https://api.github.com/repos/nim-lang/Nim/issues/9177","repository_url":"https://api.github.com/repos/nim-lang/Nim","labels_url":"https://api.github.com/repos/nim-lang/Nim/issues/9177/labels{/name}","comments_url":"https://api.github.com/repos/nim-lang/Nim/issues/9177/comments","events_url":"https://api.github.com/repos/nim-lang/Nim/issues/9177/events","html_url":"https://github.com/nim-lang/Nim/issues/9177","id":366555180,"node_id":"MDU6SXNzdWUzNjY1NTUxODA=","number":9177,"title":"Wrong assignment for tuples","user":{"login":"lscrd","id":14235161,"node_id":"MDQ6VXNlcjE0MjM1MTYx","avatar_url":"https://avatars0.githubusercontent.com/u/14235161?v=4","gravatar_id":"","url":"https://api.github.com/users/lscrd","html_url":"https://github.com/lscrd","followers_url":"https://api.github.com/users/lscrd/followers","following_url":"https://api.github.com/users/lscrd/following{/other_user}","gists_url":"https://api.github.com/users/lscrd/gists{/gist_id}","starred_url":"https://api.github.com/users/lscrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lscrd/subscriptions","organizations_url":"https://api.github.com/users/lscrd/orgs","repos_url":"https://api.github.com/users/lscrd/repos","events_url":"https://api.github.com/users/lscrd/events{/privacy}","received_events_url":"https://api.github.com/users/lscrd/received_events","type":"User","site_admin":false},"labels":[{"id":66121,"node_id":"MDU6TGFiZWw2NjEyMQ==","url":"https://api.github.com/repos/nim-lang/Nim/labels/High%20Priority","name":"High Priority","color":"e30c0c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-03T22:31:46Z","updated_at":"2018-10-04T03:41:49Z","closed_at":null,"author_association":"NONE","body":"In this program:\r\n\r\n```Nim\r\nvar x = (a: 5, b: 1)\r\nx = (3 * x.a + 2 * x.b, x.a + x.b)\r\necho x\r\n```\r\n\r\nI expected to get (a: 17, b: 6), but I got (a: 17, b: 18) as if the program was:\r\n\r\n```Nim\r\nvar x = (a: 5, b: 1)\r\nx.a = 3 * x.a + 2 * x.b\r\nx.b = x.a + x.b\r\necho x\r\n```\r\n\r\nI think this is not the expected behavior. Could you confirm?"},"comment":{"url":"https://api.github.com/repos/nim-lang/Nim/issues/comments/426875262","html_url":"https://github.com/nim-lang/Nim/issues/9177#issuecomment-426875262","issue_url":"https://api.github.com/repos/nim-lang/Nim/issues/9177","id":426875262,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjg3NTI2Mg==","user":{"login":"dom96","id":246651,"node_id":"MDQ6VXNlcjI0NjY1MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/246651?v=4","gravatar_id":"","url":"https://api.github.com/users/dom96","html_url":"https://github.com/dom96","followers_url":"https://api.github.com/users/dom96/followers","following_url":"https://api.github.com/users/dom96/following{/other_user}","gists_url":"https://api.github.com/users/dom96/gists{/gist_id}","starred_url":"https://api.github.com/users/dom96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dom96/subscriptions","organizations_url":"https://api.github.com/users/dom96/orgs","repos_url":"https://api.github.com/users/dom96/repos","events_url":"https://api.github.com/users/dom96/events{/privacy}","received_events_url":"https://api.github.com/users/dom96/received_events","type":"User","site_admin":false},"created_at":"2018-10-04T03:41:49Z","updated_at":"2018-10-04T03:41:49Z","author_association":"MEMBER","body":"For reference, in Python:\r\n\r\n```\r\n>>> x = (5, 1)\r\n>>> x = (3 * x[0] + 2 * x[1], x[0] + x[1])\r\n>>> x\r\n(17, 6)\r\n```"}}
{"actor":{"display_login":"dom96"}}