{"action":"closed","issue":{"url":"https://api.github.com/repos/opal/opal/issues/1053","labels_url":"https://api.github.com/repos/opal/opal/issues/1053/labels{/name}","comments_url":"https://api.github.com/repos/opal/opal/issues/1053/comments","events_url":"https://api.github.com/repos/opal/opal/issues/1053/events","html_url":"https://github.com/opal/opal/issues/1053","id":100249365,"number":1053,"title":"class varible named @constructor is not converted properly","user":{"login":"bwl21","id":2022976,"avatar_url":"https://avatars.githubusercontent.com/u/2022976?v=3","gravatar_id":"","url":"https://api.github.com/users/bwl21","html_url":"https://github.com/bwl21","followers_url":"https://api.github.com/users/bwl21/followers","following_url":"https://api.github.com/users/bwl21/following{/other_user}","gists_url":"https://api.github.com/users/bwl21/gists{/gist_id}","starred_url":"https://api.github.com/users/bwl21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwl21/subscriptions","organizations_url":"https://api.github.com/users/bwl21/orgs","repos_url":"https://api.github.com/users/bwl21/repos","events_url":"https://api.github.com/users/bwl21/events{/privacy}","received_events_url":"https://api.github.com/users/bwl21/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/opal/opal/labels/compiler","name":"compiler","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/opal/opal/milestones/11","html_url":"https://github.com/opal/opal/milestones/0.9","labels_url":"https://api.github.com/repos/opal/opal/milestones/11/labels","id":1220096,"number":11,"title":"0.9","description":"docs, docs, docs","creator":{"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},"open_issues":6,"closed_issues":2,"state":"open","created_at":"2015-07-22T12:58:48Z","updated_at":"2015-08-11T13:09:36Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-08-11T07:52:56Z","updated_at":"2015-08-11T13:09:36Z","closed_at":"2015-08-11T13:09:36Z","body":"```ruby\r\n  def initialize(name)\r\n    @name = name\r\n    @constructor = \"foo\"\r\n  end\r\n```\r\n\r\ncompiles to in http://opalrb.org/try/#\r\n```javascript\r\n    def.$initialize = function(name) {\r\n      var self = this;\r\n\r\n      self.name = name;\r\n      return self.constructor = \"foo\";\r\n    };\r\n```\r\n\r\nbut as `@constructor` is a variable already coming from javascript. As @elia told me, it should compile to `constructor$`\r\n"}}