{"action":"closed","issue":{"url":"https://api.github.com/repos/opal/opal/issues/1089","labels_url":"https://api.github.com/repos/opal/opal/issues/1089/labels{/name}","comments_url":"https://api.github.com/repos/opal/opal/issues/1089/comments","events_url":"https://api.github.com/repos/opal/opal/issues/1089/events","html_url":"https://github.com/opal/opal/issues/1089","id":104348105,"number":1089,"title":"return %{...} fails to compile","user":{"login":"Papierkorb","id":737062,"avatar_url":"https://avatars.githubusercontent.com/u/737062?v=3","gravatar_id":"","url":"https://api.github.com/users/Papierkorb","html_url":"https://github.com/Papierkorb","followers_url":"https://api.github.com/users/Papierkorb/followers","following_url":"https://api.github.com/users/Papierkorb/following{/other_user}","gists_url":"https://api.github.com/users/Papierkorb/gists{/gist_id}","starred_url":"https://api.github.com/users/Papierkorb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Papierkorb/subscriptions","organizations_url":"https://api.github.com/users/Papierkorb/orgs","repos_url":"https://api.github.com/users/Papierkorb/repos","events_url":"https://api.github.com/users/Papierkorb/events{/privacy}","received_events_url":"https://api.github.com/users/Papierkorb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/opal/opal/labels/bug","name":"bug","color":"e10c02"},{"url":"https://api.github.com/repos/opal/opal/labels/parser","name":"parser","color":"0b02e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-01T20:26:42Z","updated_at":"2015-12-05T21:31:29Z","closed_at":"2015-12-05T21:31:29Z","body":"Hi,\r\nThe following snippet breaks on line 6:\r\n\r\n````ruby\r\ndef fine\r\n  %{a}\r\nend\r\n\r\ndef broken\r\n  return %{a} ### Here\r\nend\r\n````\r\n\r\nThe compile error is as follows:\r\n````\r\nSyntaxError: An error occurred while compiling: (file)\r\n\r\nunexpected '\"tRCURLY\"'\r\nSource: (file):6:13\r\n  return %{a}\r\n~~~~~~~~~~~~^\r\n````\r\n\r\nInterestingly enough `return %q{a}` works fine, it's just the `%{a}` form that fails if used with a return statement.\r\n\r\nThank you for opal!\r\n"}}