payload: {"action":"created","issue":{"url":"https://api.github.com/repos/purescript/purescript/issues/3533","repository_url":"https://api.github.com/repos/purescript/purescript","labels_url":"https://api.github.com/repos/purescript/purescript/issues/3533/labels{/name}","comments_url":"https://api.github.com/repos/purescript/purescript/issues/3533/comments","events_url":"https://api.github.com/repos/purescript/purescript/issues/3533/events","html_url":"https://github.com/purescript/purescript/pull/3533","id":408409064,"node_id":"MDExOlB1bGxSZXF1ZXN0MjUxNjYwMzI5","number":3533,"title":" Naming a constructor `PS` breaks the javascript","user":{"login":"mhcurylo","id":8417137,"node_id":"MDQ6VXNlcjg0MTcxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/8417137?v=4","gravatar_id":"","url":"https://api.github.com/users/mhcurylo","html_url":"https://github.com/mhcurylo","followers_url":"https://api.github.com/users/mhcurylo/followers","following_url":"https://api.github.com/users/mhcurylo/following{/other_user}","gists_url":"https://api.github.com/users/mhcurylo/gists{/gist_id}","starred_url":"https://api.github.com/users/mhcurylo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhcurylo/subscriptions","organizations_url":"https://api.github.com/users/mhcurylo/orgs","repos_url":"https://api.github.com/users/mhcurylo/repos","events_url":"https://api.github.com/users/mhcurylo/events{/privacy}","received_events_url":"https://api.github.com/users/mhcurylo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2019-02-09T07:53:13Z","updated_at":"2019-03-17T19:07:55Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/purescript/purescript/pulls/3533","html_url":"https://github.com/purescript/purescript/pull/3533","diff_url":"https://github.com/purescript/purescript/pull/3533.diff","patch_url":"https://github.com/purescript/purescript/pull/3533.patch"},"body":"I have fixed the PS constructor braking the exports by changing the IIFE argument from exports to the PS module object.\r\nThere are no automated tests for the psc-bundle and I have not added one. Maybe they should be introduced?\r\nFragment of an output is:\r\n```\r\nfunction(PS) {\r\n  // Generated by purs version 0.12.2\r\n  \"use strict\";\r\n  var exports = PS[\"Effect.Console\"] = PS[\"Effect.Console\"] || {};\r\n  var $foreign = PS[\"Effect.Console\"];\r\n  var Data_Show = PS[\"Data.Show\"];\r\n  var Data_Unit = PS[\"Data.Unit\"];\r\n  var Effect = PS[\"Effect\"];\r\n  exports[\"log\"] = $foreign.log;\r\n})(PS); \r\n```"},"comment":{"url":"https://api.github.com/repos/purescript/purescript/issues/comments/473704887","html_url":"https://github.com/purescript/purescript/pull/3533#issuecomment-473704887","issue_url":"https://api.github.com/repos/purescript/purescript/issues/3533","id":473704887,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3MzcwNDg4Nw==","user":{"login":"mhcurylo","id":8417137,"node_id":"MDQ6VXNlcjg0MTcxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/8417137?v=4","gravatar_id":"","url":"https://api.github.com/users/mhcurylo","html_url":"https://github.com/mhcurylo","followers_url":"https://api.github.com/users/mhcurylo/followers","following_url":"https://api.github.com/users/mhcurylo/following{/other_user}","gists_url":"https://api.github.com/users/mhcurylo/gists{/gist_id}","starred_url":"https://api.github.com/users/mhcurylo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhcurylo/subscriptions","organizations_url":"https://api.github.com/users/mhcurylo/orgs","repos_url":"https://api.github.com/users/mhcurylo/repos","events_url":"https://api.github.com/users/mhcurylo/events{/privacy}","received_events_url":"https://api.github.com/users/mhcurylo/received_events","type":"User","site_admin":false},"created_at":"2019-03-17T19:07:55Z","updated_at":"2019-03-17T19:07:55Z","author_association":"NONE","body":"Thanks for noticing.\r\nSomewhat I did not read the moduleExports comment.\r\nNow it is addressed."}}
other: {"actor":{"display_login":"mhcurylo"}}