{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/3741","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/3741/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/3741/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/3741/events","html_url":"https://github.com/HaxeFoundation/haxe/issues/3741","id":53520630,"number":3741,"title":"Inconsistent integer division behaviors between different targets.","user":{"login":"Atry","id":601530,"avatar_url":"https://avatars.githubusercontent.com/u/601530?v=3","gravatar_id":"","url":"https://api.github.com/users/Atry","html_url":"https://github.com/Atry","followers_url":"https://api.github.com/users/Atry/followers","following_url":"https://api.github.com/users/Atry/following{/other_user}","gists_url":"https://api.github.com/users/Atry/gists{/gist_id}","starred_url":"https://api.github.com/users/Atry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Atry/subscriptions","organizations_url":"https://api.github.com/users/Atry/orgs","repos_url":"https://api.github.com/users/Atry/repos","events_url":"https://api.github.com/users/Atry/events{/privacy}","received_events_url":"https://api.github.com/users/Atry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"waneck","id":178171,"avatar_url":"https://avatars.githubusercontent.com/u/178171?v=3","gravatar_id":"","url":"https://api.github.com/users/waneck","html_url":"https://github.com/waneck","followers_url":"https://api.github.com/users/waneck/followers","following_url":"https://api.github.com/users/waneck/following{/other_user}","gists_url":"https://api.github.com/users/waneck/gists{/gist_id}","starred_url":"https://api.github.com/users/waneck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waneck/subscriptions","organizations_url":"https://api.github.com/users/waneck/orgs","repos_url":"https://api.github.com/users/waneck/repos","events_url":"https://api.github.com/users/waneck/events{/privacy}","received_events_url":"https://api.github.com/users/waneck/received_events","type":"User","site_admin":false},"milestone":null,"comments":18,"created_at":"2015-01-06T14:39:23Z","updated_at":"2015-01-13T11:33:46Z","closed_at":null,"body":"``` haxe\r\nclass Div\r\n{\r\n\tpublic static function main()\r\n\t{\r\n\t\tvar i = 1;\r\n\t\tvar j = 0;\r\n\t\tvar k:Int = Std.int(i / j);\r\n\t\ttrace(k);\r\n\t}\r\n}\r\n```\r\n\r\n```\r\n$ haxe -x Div\r\nDiv.hx:8: 0\r\n```\r\n\r\n```\r\n$ haxe -java java -main Div && java -jar java/Div.jar\r\nhaxelib run hxjava hxjava_build.txt --haxe-version 3200\r\njavac.exe \"-sourcepath\" \"src\" \"-d\" \"obj\" \"-g:none\" \"@cmd\"\r\nException in thread \"main\" java.lang.ArithmeticException: / by zero\r\n        at haxe.root.Div.main(Unknown Source)\r\n        at haxe.root.Div.main(Unknown Source)\r\n```"},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/comments/69731655","html_url":"https://github.com/HaxeFoundation/haxe/issues/3741#issuecomment-69731655","issue_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/3741","id":69731655,"user":{"login":"Atry","id":601530,"avatar_url":"https://avatars.githubusercontent.com/u/601530?v=3","gravatar_id":"","url":"https://api.github.com/users/Atry","html_url":"https://github.com/Atry","followers_url":"https://api.github.com/users/Atry/followers","following_url":"https://api.github.com/users/Atry/following{/other_user}","gists_url":"https://api.github.com/users/Atry/gists{/gist_id}","starred_url":"https://api.github.com/users/Atry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Atry/subscriptions","organizations_url":"https://api.github.com/users/Atry/orgs","repos_url":"https://api.github.com/users/Atry/repos","events_url":"https://api.github.com/users/Atry/events{/privacy}","received_events_url":"https://api.github.com/users/Atry/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T11:33:46Z","updated_at":"2015-01-13T11:33:46Z","body":"Or a new operator?"}}