{"action":"opened","number":31,"pull_request":{"url":"https://api.github.com/repos/eventualbuddha/decaffeinate/pulls/31","id":36098938,"html_url":"https://github.com/eventualbuddha/decaffeinate/pull/31","diff_url":"https://github.com/eventualbuddha/decaffeinate/pull/31.diff","patch_url":"https://github.com/eventualbuddha/decaffeinate/pull/31.patch","issue_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/issues/31","number":31,"state":"open","locked":false,"title":"Fix return of interpolated string","user":{"login":"ef4","id":319282,"avatar_url":"https://avatars.githubusercontent.com/u/319282?v=3","gravatar_id":"","url":"https://api.github.com/users/ef4","html_url":"https://github.com/ef4","followers_url":"https://api.github.com/users/ef4/followers","following_url":"https://api.github.com/users/ef4/following{/other_user}","gists_url":"https://api.github.com/users/ef4/gists{/gist_id}","starred_url":"https://api.github.com/users/ef4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ef4/subscriptions","organizations_url":"https://api.github.com/users/ef4/orgs","repos_url":"https://api.github.com/users/ef4/repos","events_url":"https://api.github.com/users/ef4/events{/privacy}","received_events_url":"https://api.github.com/users/ef4/received_events","type":"User","site_admin":false},"body":"Because of the way we are doing string-replacement and not AST->AST transformation, we are quite sensitive to the order the transforms run.\r\n\r\nIn this case, if you rewrite the `->` and the `#{` first, the patcher can't find any original characters to target when it tries to insert the `return`.","created_at":"2015-05-24T06:38:54Z","updated_at":"2015-05-24T06:38:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/pulls/31/commits","review_comments_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/pulls/31/comments","review_comment_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/issues/31/comments","statuses_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/statuses/caed225ce4a68e1485db77da24c48c1940302895","head":{"label":"ef4:return-interp","ref":"return-interp","sha":"caed225ce4a68e1485db77da24c48c1940302895","user":{"login":"ef4","id":319282,"avatar_url":"https://avatars.githubusercontent.com/u/319282?v=3","gravatar_id":"","url":"https://api.github.com/users/ef4","html_url":"https://github.com/ef4","followers_url":"https://api.github.com/users/ef4/followers","following_url":"https://api.github.com/users/ef4/following{/other_user}","gists_url":"https://api.github.com/users/ef4/gists{/gist_id}","starred_url":"https://api.github.com/users/ef4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ef4/subscriptions","organizations_url":"https://api.github.com/users/ef4/orgs","repos_url":"https://api.github.com/users/ef4/repos","events_url":"https://api.github.com/users/ef4/events{/privacy}","received_events_url":"https://api.github.com/users/ef4/received_events","type":"User","site_admin":false},"repo":{"id":36155552,"name":"decaffeinate","full_name":"ef4/decaffeinate","owner":{"login":"ef4","id":319282,"avatar_url":"https://avatars.githubusercontent.com/u/319282?v=3","gravatar_id":"","url":"https://api.github.com/users/ef4","html_url":"https://github.com/ef4","followers_url":"https://api.github.com/users/ef4/followers","following_url":"https://api.github.com/users/ef4/following{/other_user}","gists_url":"https://api.github.com/users/ef4/gists{/gist_id}","starred_url":"https://api.github.com/users/ef4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ef4/subscriptions","organizations_url":"https://api.github.com/users/ef4/orgs","repos_url":"https://api.github.com/users/ef4/repos","events_url":"https://api.github.com/users/ef4/events{/privacy}","received_events_url":"https://api.github.com/users/ef4/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ef4/decaffeinate","description":"CoffeeScript in, ES6 out","fork":true,"url":"https://api.github.com/repos/ef4/decaffeinate","forks_url":"https://api.github.com/repos/ef4/decaffeinate/forks","keys_url":"https://api.github.com/repos/ef4/decaffeinate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ef4/decaffeinate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ef4/decaffeinate/teams","hooks_url":"https://api.github.com/repos/ef4/decaffeinate/hooks","issue_events_url":"https://api.github.com/repos/ef4/decaffeinate/issues/events{/number}","events_url":"https://api.github.com/repos/ef4/decaffeinate/events","assignees_url":"https://api.github.com/repos/ef4/decaffeinate/assignees{/user}","branches_url":"https://api.github.com/repos/ef4/decaffeinate/branches{/branch}","tags_url":"https://api.github.com/repos/ef4/decaffeinate/tags","blobs_url":"https://api.github.com/repos/ef4/decaffeinate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ef4/decaffeinate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ef4/decaffeinate/git/refs{/sha}","trees_url":"https://api.github.com/repos/ef4/decaffeinate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ef4/decaffeinate/statuses/{sha}","languages_url":"https://api.github.com/repos/ef4/decaffeinate/languages","stargazers_url":"https://api.github.com/repos/ef4/decaffeinate/stargazers","contributors_url":"https://api.github.com/repos/ef4/decaffeinate/contributors","subscribers_url":"https://api.github.com/repos/ef4/decaffeinate/subscribers","subscription_url":"https://api.github.com/repos/ef4/decaffeinate/subscription","commits_url":"https://api.github.com/repos/ef4/decaffeinate/commits{/sha}","git_commits_url":"https://api.github.com/repos/ef4/decaffeinate/git/commits{/sha}","comments_url":"https://api.github.com/repos/ef4/decaffeinate/comments{/number}","issue_comment_url":"https://api.github.com/repos/ef4/decaffeinate/issues/comments{/number}","contents_url":"https://api.github.com/repos/ef4/decaffeinate/contents/{+path}","compare_url":"https://api.github.com/repos/ef4/decaffeinate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ef4/decaffeinate/merges","archive_url":"https://api.github.com/repos/ef4/decaffeinate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ef4/decaffeinate/downloads","issues_url":"https://api.github.com/repos/ef4/decaffeinate/issues{/number}","pulls_url":"https://api.github.com/repos/ef4/decaffeinate/pulls{/number}","milestones_url":"https://api.github.com/repos/ef4/decaffeinate/milestones{/number}","notifications_url":"https://api.github.com/repos/ef4/decaffeinate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ef4/decaffeinate/labels{/name}","releases_url":"https://api.github.com/repos/ef4/decaffeinate/releases{/id}","created_at":"2015-05-24T04:17:05Z","updated_at":"2015-05-24T04:17:06Z","pushed_at":"2015-05-24T06:36:09Z","git_url":"git://github.com/ef4/decaffeinate.git","ssh_url":"git@github.com:ef4/decaffeinate.git","clone_url":"https://github.com/ef4/decaffeinate.git","svn_url":"https://github.com/ef4/decaffeinate","homepage":"","size":252,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"eventualbuddha:master","ref":"master","sha":"48b03792fec121882b2859a41c49e0406b661153","user":{"login":"eventualbuddha","id":1938,"avatar_url":"https://avatars.githubusercontent.com/u/1938?v=3","gravatar_id":"","url":"https://api.github.com/users/eventualbuddha","html_url":"https://github.com/eventualbuddha","followers_url":"https://api.github.com/users/eventualbuddha/followers","following_url":"https://api.github.com/users/eventualbuddha/following{/other_user}","gists_url":"https://api.github.com/users/eventualbuddha/gists{/gist_id}","starred_url":"https://api.github.com/users/eventualbuddha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eventualbuddha/subscriptions","organizations_url":"https://api.github.com/users/eventualbuddha/orgs","repos_url":"https://api.github.com/users/eventualbuddha/repos","events_url":"https://api.github.com/users/eventualbuddha/events{/privacy}","received_events_url":"https://api.github.com/users/eventualbuddha/received_events","type":"User","site_admin":false},"repo":{"id":29375063,"name":"decaffeinate","full_name":"eventualbuddha/decaffeinate","owner":{"login":"eventualbuddha","id":1938,"avatar_url":"https://avatars.githubusercontent.com/u/1938?v=3","gravatar_id":"","url":"https://api.github.com/users/eventualbuddha","html_url":"https://github.com/eventualbuddha","followers_url":"https://api.github.com/users/eventualbuddha/followers","following_url":"https://api.github.com/users/eventualbuddha/following{/other_user}","gists_url":"https://api.github.com/users/eventualbuddha/gists{/gist_id}","starred_url":"https://api.github.com/users/eventualbuddha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eventualbuddha/subscriptions","organizations_url":"https://api.github.com/users/eventualbuddha/orgs","repos_url":"https://api.github.com/users/eventualbuddha/repos","events_url":"https://api.github.com/users/eventualbuddha/events{/privacy}","received_events_url":"https://api.github.com/users/eventualbuddha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eventualbuddha/decaffeinate","description":"CoffeeScript in, ES6 out","fork":false,"url":"https://api.github.com/repos/eventualbuddha/decaffeinate","forks_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/forks","keys_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/teams","hooks_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/hooks","issue_events_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/issues/events{/number}","events_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/events","assignees_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/assignees{/user}","branches_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/branches{/branch}","tags_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/tags","blobs_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/git/refs{/sha}","trees_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/statuses/{sha}","languages_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/languages","stargazers_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/stargazers","contributors_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/contributors","subscribers_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/subscribers","subscription_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/subscription","commits_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/commits{/sha}","git_commits_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/git/commits{/sha}","comments_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/comments{/number}","issue_comment_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/issues/comments{/number}","contents_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/contents/{+path}","compare_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/merges","archive_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/downloads","issues_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/issues{/number}","pulls_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/pulls{/number}","milestones_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/milestones{/number}","notifications_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/labels{/name}","releases_url":"https://api.github.com/repos/eventualbuddha/decaffeinate/releases{/id}","created_at":"2015-01-17T01:00:52Z","updated_at":"2015-05-23T06:32:38Z","pushed_at":"2015-05-24T05:25:56Z","git_url":"git://github.com/eventualbuddha/decaffeinate.git","ssh_url":"git@github.com:eventualbuddha/decaffeinate.git","clone_url":"https://github.com/eventualbuddha/decaffeinate.git","svn_url":"https://github.com/eventualbuddha/decaffeinate","homepage":"","size":582,"stargazers_count":262,"watchers_count":262,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":9,"forks":6,"open_issues":9,"watchers":262,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eventualbuddha/decaffeinate/pulls/31"},"html":{"href":"https://github.com/eventualbuddha/decaffeinate/pull/31"},"issue":{"href":"https://api.github.com/repos/eventualbuddha/decaffeinate/issues/31"},"comments":{"href":"https://api.github.com/repos/eventualbuddha/decaffeinate/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/eventualbuddha/decaffeinate/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/eventualbuddha/decaffeinate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eventualbuddha/decaffeinate/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/eventualbuddha/decaffeinate/statuses/caed225ce4a68e1485db77da24c48c1940302895"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":1,"changed_files":2}}