{"action":"opened","issue":{"url":"https://api.github.com/repos/sweet-js/sweet.js/issues/578","repository_url":"https://api.github.com/repos/sweet-js/sweet.js","labels_url":"https://api.github.com/repos/sweet-js/sweet.js/issues/578/labels{/name}","comments_url":"https://api.github.com/repos/sweet-js/sweet.js/issues/578/comments","events_url":"https://api.github.com/repos/sweet-js/sweet.js/issues/578/events","html_url":"https://github.com/sweet-js/sweet.js/issues/578","id":171932116,"number":578,"title":"Very confusing error when not appropriately getting `value`","user":{"login":"WreckedAvent","id":2645770,"avatar_url":"https://avatars.githubusercontent.com/u/2645770?v=3","gravatar_id":"","url":"https://api.github.com/users/WreckedAvent","html_url":"https://github.com/WreckedAvent","followers_url":"https://api.github.com/users/WreckedAvent/followers","following_url":"https://api.github.com/users/WreckedAvent/following{/other_user}","gists_url":"https://api.github.com/users/WreckedAvent/gists{/gist_id}","starred_url":"https://api.github.com/users/WreckedAvent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WreckedAvent/subscriptions","organizations_url":"https://api.github.com/users/WreckedAvent/orgs","repos_url":"https://api.github.com/users/WreckedAvent/repos","events_url":"https://api.github.com/users/WreckedAvent/events{/privacy}","received_events_url":"https://api.github.com/users/WreckedAvent/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-18T15:37:28Z","updated_at":"2016-08-18T15:37:28Z","closed_at":null,"body":"Input:\r\n```javascript\r\nsyntax fun = function(ctx) {\r\n    let param = ctx.next();\r\n    let body = ctx.next().value.inner();\r\n    return #`\r\n        function(${param}) { \r\n            return ${body}; \r\n        }\r\n    `;\r\n}\r\n\r\nlet add = fun x { x + 1 }\r\n```\r\n\r\nActual:\r\n> TypeError: s_924.addScope is not a function\r\n\r\nExpected:\r\nSome error about needing to get the `value` out of the generator return value or *something* related to the actual problem instead of this `addScope` thing"}}
{"actor":{"display_login":"WreckedAvent"}}