{"action":"created","issue":{"url":"https://api.github.com/repos/tweag/asterius/issues/22","repository_url":"https://api.github.com/repos/tweag/asterius","labels_url":"https://api.github.com/repos/tweag/asterius/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/tweag/asterius/issues/22/comments","events_url":"https://api.github.com/repos/tweag/asterius/issues/22/events","html_url":"https://github.com/tweag/asterius/issues/22","id":331557629,"node_id":"MDU6SXNzdWUzMzE1NTc2Mjk=","number":22,"title":"Fix broken `stg_enter_ret` and `stg_ap_0_fast`","user":{"login":"TerrorJack","id":3889585,"node_id":"MDQ6VXNlcjM4ODk1ODU=","avatar_url":"https://avatars3.githubusercontent.com/u/3889585?v=4","gravatar_id":"","url":"https://api.github.com/users/TerrorJack","html_url":"https://github.com/TerrorJack","followers_url":"https://api.github.com/users/TerrorJack/followers","following_url":"https://api.github.com/users/TerrorJack/following{/other_user}","gists_url":"https://api.github.com/users/TerrorJack/gists{/gist_id}","starred_url":"https://api.github.com/users/TerrorJack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TerrorJack/subscriptions","organizations_url":"https://api.github.com/users/TerrorJack/orgs","repos_url":"https://api.github.com/users/TerrorJack/repos","events_url":"https://api.github.com/users/TerrorJack/events{/privacy}","received_events_url":"https://api.github.com/users/TerrorJack/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2018-06-12T12:02:06Z","updated_at":"2018-07-12T14:45:34Z","closed_at":"2018-07-07T06:35:49Z","author_association":"COLLABORATOR","body":"Right now, the codegen outputs broken code for `stg_enter_ret`, which makes `stg_returnToStackTop` accidently ignores `Main_main_closure` on the stack. We hardcoded a version of `stg_enter_ret` that's known to work in `Asterius.Builtins`, but the hack doesn't make the underlying issue go away.\r\n\r\nAnother potentially broken function is `stg_ap_0_fast`, it pre-maturely jumps to 0, which aborts execution without even entering `StgReturn`. This error often shows up when compiling code related to `GHC.List`."},"comment":{"url":"https://api.github.com/repos/tweag/asterius/issues/comments/404537612","html_url":"https://github.com/tweag/asterius/issues/22#issuecomment-404537612","issue_url":"https://api.github.com/repos/tweag/asterius/issues/22","id":404537612,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDUzNzYxMg==","user":{"login":"kripken","id":173661,"node_id":"MDQ6VXNlcjE3MzY2MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/173661?v=4","gravatar_id":"","url":"https://api.github.com/users/kripken","html_url":"https://github.com/kripken","followers_url":"https://api.github.com/users/kripken/followers","following_url":"https://api.github.com/users/kripken/following{/other_user}","gists_url":"https://api.github.com/users/kripken/gists{/gist_id}","starred_url":"https://api.github.com/users/kripken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kripken/subscriptions","organizations_url":"https://api.github.com/users/kripken/orgs","repos_url":"https://api.github.com/users/kripken/repos","events_url":"https://api.github.com/users/kripken/events{/privacy}","received_events_url":"https://api.github.com/users/kripken/received_events","type":"User","site_admin":false},"created_at":"2018-07-12T14:45:34Z","updated_at":"2018-07-12T14:45:34Z","author_association":"NONE","body":"Docker would be easier for me I think, thanks (although I've not used docker before). Before that, though, I had a simpler idea - when you run the C++ output from the trace, does it fail for you like the original program did?"}}
{"actor":{"display_login":"kripken"}}