{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/8021","repository_url":"https://api.github.com/repos/babel/babel","labels_url":"https://api.github.com/repos/babel/babel/issues/8021/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/8021/comments","events_url":"https://api.github.com/repos/babel/babel/issues/8021/events","html_url":"https://github.com/babel/babel/pull/8021","id":325934861,"number":8021,"title":"Preserve arguments for @callable(...)-style decorators.","user":{"login":"benjamn","id":5750,"avatar_url":"https://avatars0.githubusercontent.com/u/5750?v=4","gravatar_id":"","url":"https://api.github.com/users/benjamn","html_url":"https://github.com/benjamn","followers_url":"https://api.github.com/users/benjamn/followers","following_url":"https://api.github.com/users/benjamn/following{/other_user}","gists_url":"https://api.github.com/users/benjamn/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamn/subscriptions","organizations_url":"https://api.github.com/users/benjamn/orgs","repos_url":"https://api.github.com/users/benjamn/repos","events_url":"https://api.github.com/users/benjamn/events{/privacy}","received_events_url":"https://api.github.com/users/benjamn/received_events","type":"User","site_admin":false},"labels":[{"id":311566467,"url":"https://api.github.com/repos/babel/babel/labels/PR:%20Bug%20Fix%20:bug:","name":"PR: Bug Fix :bug:","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-24T01:48:10Z","updated_at":"2018-05-24T20:16:41Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/babel/babel/pulls/8021","html_url":"https://github.com/babel/babel/pull/8021","diff_url":"https://github.com/babel/babel/pull/8021.diff","patch_url":"https://github.com/babel/babel/pull/8021.patch"},"body":"| Q                        | A <!--(Can use an emoji 👍) -->\r\n| ------------------------ | ---\r\n| Fixed Issues?            | https://github.com/meteor/meteor/issues/9895\r\n| Patch: Bug Fix?          | yes\r\n| Major: Breaking Change?  | no\r\n| Minor: New Feature?      | no\r\n| Tests Added + Pass?      | Yes\r\n| Documentation PR         | no\r\n| Any Dependency Changes?  | no\r\n| License                  | MIT\r\n\r\nReported [here](https://github.com/babel/babel/pull/7719#issuecomment-391551435).\r\n\r\nAlthough #7719 updated the parser to produce `decorator.arguments` when a decorator is called with arguments, the legacy `@babel/plugin-proposal-decorators` implementation was not updated to respect this new property.\r\n\r\nThis fix is loosely modeled after [similar functionality](https://github.com/nicolo-ribaudo/babel/blob/f6239a6c8f1cf3eaf76a66c40de08aa3305d1d1a/packages/babel-plugin-proposal-decorators/src/transformer.js#L33-L41) in the [non-legacy decorators PR](https://github.com/babel/babel/pull/7976) by @nicolo-ribaudo."},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/391845400","html_url":"https://github.com/babel/babel/pull/8021#issuecomment-391845400","issue_url":"https://api.github.com/repos/babel/babel/issues/8021","id":391845400,"user":{"login":"nicolo-ribaudo","id":7000710,"avatar_url":"https://avatars3.githubusercontent.com/u/7000710?v=4","gravatar_id":"","url":"https://api.github.com/users/nicolo-ribaudo","html_url":"https://github.com/nicolo-ribaudo","followers_url":"https://api.github.com/users/nicolo-ribaudo/followers","following_url":"https://api.github.com/users/nicolo-ribaudo/following{/other_user}","gists_url":"https://api.github.com/users/nicolo-ribaudo/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolo-ribaudo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolo-ribaudo/subscriptions","organizations_url":"https://api.github.com/users/nicolo-ribaudo/orgs","repos_url":"https://api.github.com/users/nicolo-ribaudo/repos","events_url":"https://api.github.com/users/nicolo-ribaudo/events{/privacy}","received_events_url":"https://api.github.com/users/nicolo-ribaudo/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T20:16:41Z","updated_at":"2018-05-24T20:16:41Z","author_association":"MEMBER","body":"> Given the potential for parser misconfiguration during this weird temporary transition period\r\n\r\nThe only possible problem is when someone is using an old version of `@babel/plugin-proposal-decorators`, they only need to update it :wink: \r\n\r\nAnyway, I have opened #8037 to remove `decorator.arguments`."}}
{"actor":{"display_login":"nicolo-ribaudo"}}