{"action":"created","issue":{"url":"https://api.github.com/repos/opal/opal/issues/1127","labels_url":"https://api.github.com/repos/opal/opal/issues/1127/labels{/name}","comments_url":"https://api.github.com/repos/opal/opal/issues/1127/comments","events_url":"https://api.github.com/repos/opal/opal/issues/1127/events","html_url":"https://github.com/opal/opal/issues/1127","id":109644616,"number":1127,"title":"undef doesn't take a symbolized string","user":{"login":"jgaskins","id":108205,"avatar_url":"https://avatars.githubusercontent.com/u/108205?v=3","gravatar_id":"","url":"https://api.github.com/users/jgaskins","html_url":"https://github.com/jgaskins","followers_url":"https://api.github.com/users/jgaskins/followers","following_url":"https://api.github.com/users/jgaskins/following{/other_user}","gists_url":"https://api.github.com/users/jgaskins/gists{/gist_id}","starred_url":"https://api.github.com/users/jgaskins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgaskins/subscriptions","organizations_url":"https://api.github.com/users/jgaskins/orgs","repos_url":"https://api.github.com/users/jgaskins/repos","events_url":"https://api.github.com/users/jgaskins/events{/privacy}","received_events_url":"https://api.github.com/users/jgaskins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-03T20:46:10Z","updated_at":"2015-10-03T21:36:31Z","closed_at":null,"body":"I was trying to use the `hamster` gem in a Clearwater app. It uses `undef` in a few of its classes to reduce API size, but it passes a symbol wrapped in quotes: `undef :\"<=>\"`. I checked and the fact that the string contains non-alphanumeric characters doesn't matter. This code also doesn't compile:\r\n\r\n```ruby\r\nclass Foo\r\n  undef :\"object_id\"\r\nend\r\n```\r\n\r\nThe thing is, `:\"<=>\"` is valid Ruby according to the compiler. It only breaks when passed to `undef` and other directives like `alias`.\r\n\r\nIf you've got ideas as to where this would be in the compiler, I can go ahead and try to fix it."},"comment":{"url":"https://api.github.com/repos/opal/opal/issues/comments/145292441","html_url":"https://github.com/opal/opal/issues/1127#issuecomment-145292441","issue_url":"https://api.github.com/repos/opal/opal/issues/1127","id":145292441,"user":{"login":"elia","id":1051,"avatar_url":"https://avatars.githubusercontent.com/u/1051?v=3","gravatar_id":"","url":"https://api.github.com/users/elia","html_url":"https://github.com/elia","followers_url":"https://api.github.com/users/elia/followers","following_url":"https://api.github.com/users/elia/following{/other_user}","gists_url":"https://api.github.com/users/elia/gists{/gist_id}","starred_url":"https://api.github.com/users/elia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elia/subscriptions","organizations_url":"https://api.github.com/users/elia/orgs","repos_url":"https://api.github.com/users/elia/repos","events_url":"https://api.github.com/users/elia/events{/privacy}","received_events_url":"https://api.github.com/users/elia/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T21:36:31Z","updated_at":"2015-10-03T21:36:31Z","body":"If we're lucky it's just the lexer (lexer.rb) otherwise it's the grammar (grammar.y) \r\n\r\nKeep me posted on this if you need any help, although I'm no expert when it comes to racc grammars :\\"}}