{"action":"created","issue":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/16322","repository_url":"https://api.github.com/repos/emberjs/ember.js","labels_url":"https://api.github.com/repos/emberjs/ember.js/issues/16322/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/ember.js/issues/16322/comments","events_url":"https://api.github.com/repos/emberjs/ember.js/issues/16322/events","html_url":"https://github.com/emberjs/ember.js/issues/16322","id":302282402,"number":16322,"title":"Unhelpful syntax error message","user":{"login":"GuillaumeGomez","id":3050060,"avatar_url":"https://avatars0.githubusercontent.com/u/3050060?v=4","gravatar_id":"","url":"https://api.github.com/users/GuillaumeGomez","html_url":"https://github.com/GuillaumeGomez","followers_url":"https://api.github.com/users/GuillaumeGomez/followers","following_url":"https://api.github.com/users/GuillaumeGomez/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeGomez/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeGomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeGomez/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeGomez/orgs","repos_url":"https://api.github.com/users/GuillaumeGomez/repos","events_url":"https://api.github.com/users/GuillaumeGomez/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeGomez/received_events","type":"User","site_admin":false},"labels":[{"id":187302,"url":"https://api.github.com/repos/emberjs/ember.js/labels/Bug","name":"Bug","color":"e10c02","default":false},{"id":259289356,"url":"https://api.github.com/repos/emberjs/ember.js/labels/Help%20Wanted","name":"Help Wanted","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-05T12:32:20Z","updated_at":"2018-03-05T14:28:07Z","closed_at":null,"author_association":"NONE","body":"I just updated to ember 3 and got the following error (everything else is working fine):\r\n\r\n```\r\nUncaught Error: SYNTAX ERROR: #if requires a single argument\r\n```\r\n\r\nConsidering the size of the codebase, I can't figure out where this error comes from (already looked at all `#if` so I suppose I missed one...) and didn't find out how or where it was generated in this repository so I can't send a PR either.\r\n\r\nCould you add the full `#if` syntax please? It'd be really helpful..."},"comment":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/comments/370435774","html_url":"https://github.com/emberjs/ember.js/issues/16322#issuecomment-370435774","issue_url":"https://api.github.com/repos/emberjs/ember.js/issues/16322","id":370435774,"user":{"login":"rwjblue","id":12637,"avatar_url":"https://avatars0.githubusercontent.com/u/12637?v=4","gravatar_id":"","url":"https://api.github.com/users/rwjblue","html_url":"https://github.com/rwjblue","followers_url":"https://api.github.com/users/rwjblue/followers","following_url":"https://api.github.com/users/rwjblue/following{/other_user}","gists_url":"https://api.github.com/users/rwjblue/gists{/gist_id}","starred_url":"https://api.github.com/users/rwjblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwjblue/subscriptions","organizations_url":"https://api.github.com/users/rwjblue/orgs","repos_url":"https://api.github.com/users/rwjblue/repos","events_url":"https://api.github.com/users/rwjblue/events{/privacy}","received_events_url":"https://api.github.com/users/rwjblue/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T14:28:07Z","updated_at":"2018-03-05T14:28:07Z","author_association":"OWNER","body":"For anyone looking to pick this up, we need to do something like:\r\n\r\n* Add a new AST transform ([this is a good base](https://github.com/emberjs/ember.js/blob/master/packages/ember-template-compiler/lib/plugins/assert-reserved-named-arguments.js))\r\n* Add that AST transform to [this array](https://github.com/emberjs/ember.js/blob/fca8c30837fa36db62aaf4418769ecf486dcb629/packages/ember-template-compiler/lib/plugins/index.js#L19-L37)\r\n* Add a test confirming that the assertion is thrown, given the bad input (something like [this one](https://github.com/emberjs/ember.js/blob/fca8c30837fa36db62aaf4418769ecf486dcb629/packages/ember-template-compiler/tests/plugins/assert-reserved-named-arguments-test.js#L7-L25))"}}
{"actor":{"display_login":"rwjblue"}}