{"action":"opened","issue":{"url":"https://api.github.com/repos/HaxeFoundation/hscript/issues/37","labels_url":"https://api.github.com/repos/HaxeFoundation/hscript/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/hscript/issues/37/comments","events_url":"https://api.github.com/repos/HaxeFoundation/hscript/issues/37/events","html_url":"https://github.com/HaxeFoundation/hscript/issues/37","id":105117649,"number":37,"title":"test in test.hx throwing an EInvalidIterator  error : var a = new Array(); for( x in 0...5 ) a[x] = x; a.join('-');","user":{"login":"increpare","id":465632,"avatar_url":"https://avatars.githubusercontent.com/u/465632?v=3","gravatar_id":"","url":"https://api.github.com/users/increpare","html_url":"https://github.com/increpare","followers_url":"https://api.github.com/users/increpare/followers","following_url":"https://api.github.com/users/increpare/following{/other_user}","gists_url":"https://api.github.com/users/increpare/gists{/gist_id}","starred_url":"https://api.github.com/users/increpare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/increpare/subscriptions","organizations_url":"https://api.github.com/users/increpare/orgs","repos_url":"https://api.github.com/users/increpare/repos","events_url":"https://api.github.com/users/increpare/events{/privacy}","received_events_url":"https://api.github.com/users/increpare/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-06T21:17:27Z","updated_at":"2015-09-06T21:17:27Z","closed_at":null,"body":"It might just be me running it incorrectly, but I'm getting a report of one of the Test.hx cases crashing\r\n\r\nThis one:\r\n\r\nvar a = new Array(); for( x in 0...5 ) a[x] = x; a.join('-')\r\n\r\nI'm not sure why (when I try to test it in a live interpreter myself it seems ok). Anyway, here's the call stack:\r\n\r\nCalled from ? line 1\r\nCalled from Test.hx line 71\r\nCalled from Test.hx line 16\r\nCalled from hscript/Interp.hx line 206\r\nCalled from hscript/Interp.hx line 210\r\nCalled from hscript/Interp.hx line 211\r\nCalled from hscript/Interp.hx line 294\r\nCalled from hscript/Interp.hx line 341\r\nCalled from hscript/Interp.hx line 512\r\nCalled from hscript/Interp.hx line 505\r\nUncaught exception - EInvalidIterator({ max => 5, min => 0 })\r\n"}}