{"action":"created","issue":{"url":"https://api.github.com/repos/chapel-lang/chapel/issues/11342","repository_url":"https://api.github.com/repos/chapel-lang/chapel","labels_url":"https://api.github.com/repos/chapel-lang/chapel/issues/11342/labels{/name}","comments_url":"https://api.github.com/repos/chapel-lang/chapel/issues/11342/comments","events_url":"https://api.github.com/repos/chapel-lang/chapel/issues/11342/events","html_url":"https://github.com/chapel-lang/chapel/issues/11342","id":369172723,"node_id":"MDU6SXNzdWUzNjkxNzI3MjM=","number":11342,"title":"forgotten zip keyword leads to memory leak","user":{"login":"mppf","id":3653132,"node_id":"MDQ6VXNlcjM2NTMxMzI=","avatar_url":"https://avatars3.githubusercontent.com/u/3653132?v=4","gravatar_id":"","url":"https://api.github.com/users/mppf","html_url":"https://github.com/mppf","followers_url":"https://api.github.com/users/mppf/followers","following_url":"https://api.github.com/users/mppf/following{/other_user}","gists_url":"https://api.github.com/users/mppf/gists{/gist_id}","starred_url":"https://api.github.com/users/mppf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mppf/subscriptions","organizations_url":"https://api.github.com/users/mppf/orgs","repos_url":"https://api.github.com/users/mppf/repos","events_url":"https://api.github.com/users/mppf/events{/privacy}","received_events_url":"https://api.github.com/users/mppf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-11T15:17:44Z","updated_at":"2018-10-11T17:31:16Z","closed_at":null,"author_association":"MEMBER","body":"In this program:\r\n\r\n``` chapel\r\nvar A:[1..10] int = 1;\r\nvar B:[1..10] int = 2;\r\n\r\nfor (a,b) in (A,B) { // OOPS! forgot zip keyword\r\n  a = b;\r\n}\r\n\r\nwriteln(A);\r\nwriteln(B);\r\n```\r\n\r\nthe compiler doesn't give any error or warning that the zip keyword was forgotten. Could it?\r\n\r\nIn any case the program leaks memory."},"comment":{"url":"https://api.github.com/repos/chapel-lang/chapel/issues/comments/429046763","html_url":"https://github.com/chapel-lang/chapel/issues/11342#issuecomment-429046763","issue_url":"https://api.github.com/repos/chapel-lang/chapel/issues/11342","id":429046763,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTA0Njc2Mw==","user":{"login":"bradcray","id":7536222,"node_id":"MDQ6VXNlcjc1MzYyMjI=","avatar_url":"https://avatars0.githubusercontent.com/u/7536222?v=4","gravatar_id":"","url":"https://api.github.com/users/bradcray","html_url":"https://github.com/bradcray","followers_url":"https://api.github.com/users/bradcray/followers","following_url":"https://api.github.com/users/bradcray/following{/other_user}","gists_url":"https://api.github.com/users/bradcray/gists{/gist_id}","starred_url":"https://api.github.com/users/bradcray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradcray/subscriptions","organizations_url":"https://api.github.com/users/bradcray/orgs","repos_url":"https://api.github.com/users/bradcray/repos","events_url":"https://api.github.com/users/bradcray/events{/privacy}","received_events_url":"https://api.github.com/users/bradcray/received_events","type":"User","site_admin":false},"created_at":"2018-10-11T17:31:16Z","updated_at":"2018-10-11T17:31:16Z","author_association":"MEMBER","body":"That is definitely weird.  What are the types of `a` and `b` within the loop?\r\n"}}
{"actor":{"display_login":"bradcray"}}