{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/6398d275920f612b87785f8854abfc4a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"6398d275920f612b87785f8854abfc4a","url":"https://api.github.com/users/epeli","login":"epeli","id":225712},"milestone":null,"labels":[],"assignee":null,"updated_at":"2011-10-31T14:05:02Z","comments":0,"closed_at":null,"url":"https://api.github.com/repos/jashkenas/coffee-script/issues/1815","body":"I was bit surprised to find out today that this compiles:\r\n\r\n```coffee\r\nfoo = @bar: 1\r\n```\r\n\r\nThe output is \r\n\r\n```javascript\r\nvar foo;\r\nfoo = {\r\n  this.bar: 1\r\n};\r\n``` \r\n\r\nWhich is invalid Javascript.\r\n\r\nI think that CoffeeScript compiler should throw an error when trying to compile this.","html_url":"https://github.com/jashkenas/coffee-script/issues/1815","title":"@-sign in object literal compiles into invalid Javascript","number":1815,"id":2097232,"created_at":"2011-10-31T14:05:02Z"},"action":"opened"}