{"action":"created","issue":{"url":"https://api.github.com/repos/katlogic/ljx/issues/3","repository_url":"https://api.github.com/repos/katlogic/ljx","labels_url":"https://api.github.com/repos/katlogic/ljx/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/katlogic/ljx/issues/3/comments","events_url":"https://api.github.com/repos/katlogic/ljx/issues/3/events","html_url":"https://github.com/katlogic/ljx/issues/3","id":137359027,"number":3,"title":"Scope issues?","user":{"login":"gamax92","id":815145,"avatar_url":"https://avatars.githubusercontent.com/u/815145?v=3","gravatar_id":"","url":"https://api.github.com/users/gamax92","html_url":"https://github.com/gamax92","followers_url":"https://api.github.com/users/gamax92/followers","following_url":"https://api.github.com/users/gamax92/following{/other_user}","gists_url":"https://api.github.com/users/gamax92/gists{/gist_id}","starred_url":"https://api.github.com/users/gamax92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gamax92/subscriptions","organizations_url":"https://api.github.com/users/gamax92/orgs","repos_url":"https://api.github.com/users/gamax92/repos","events_url":"https://api.github.com/users/gamax92/events{/privacy}","received_events_url":"https://api.github.com/users/gamax92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-29T20:13:20Z","updated_at":"2016-02-29T22:28:39Z","closed_at":null,"body":"Sometimes experiencing weird oddities such as this:\r\n```\r\nin 5.1, 5.2, 5.3, luajit: local i=1 while i do print(i) break end -> 1\r\nin ljx: local i=1 while i do print(i) break end -> nil\r\n```\r\nBut it works fine in any other kind of block like for loops, repeat until, do-end, etc.\r\n\r\nWhy do while loops specifically seem to break?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/katlogic/ljx/issues/comments/190428829","html_url":"https://github.com/katlogic/ljx/issues/3#issuecomment-190428829","issue_url":"https://api.github.com/repos/katlogic/ljx/issues/3","id":190428829,"user":{"login":"katlogic","id":6788292,"avatar_url":"https://avatars.githubusercontent.com/u/6788292?v=3","gravatar_id":"","url":"https://api.github.com/users/katlogic","html_url":"https://github.com/katlogic","followers_url":"https://api.github.com/users/katlogic/followers","following_url":"https://api.github.com/users/katlogic/following{/other_user}","gists_url":"https://api.github.com/users/katlogic/gists{/gist_id}","starred_url":"https://api.github.com/users/katlogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katlogic/subscriptions","organizations_url":"https://api.github.com/users/katlogic/orgs","repos_url":"https://api.github.com/users/katlogic/repos","events_url":"https://api.github.com/users/katlogic/events{/privacy}","received_events_url":"https://api.github.com/users/katlogic/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T22:28:39Z","updated_at":"2016-02-29T22:28:39Z","body":"Reverted in 641babb4ddc2341b3180aaf158c3faf87925d13d\r\n\r\nFor some background - https://www.freelists.org/post/luajit/Misbehaving-weak-tables-jit-load-barrier-buggy-gc\r\n\r\nMy fix back then was too poorly thought out, it needs to be handled elsewhere (ie gc step before TNEW, just as Rio Lua).\r\n\r\nTurns out I had the DISABLE_UBKLUDGES enabled in my Makefile since ever, so never seen the bug.\r\n\r\nAlso, the parser is still quiete buggy in certain edge cases, as its one of the parts of LuaJIT which were half rewritten."}}