{"action":"created","issue":{"url":"https://api.github.com/repos/opal/opal/issues/1449","repository_url":"https://api.github.com/repos/opal/opal","labels_url":"https://api.github.com/repos/opal/opal/issues/1449/labels{/name}","comments_url":"https://api.github.com/repos/opal/opal/issues/1449/comments","events_url":"https://api.github.com/repos/opal/opal/issues/1449/events","html_url":"https://github.com/opal/opal/issues/1449","id":149923768,"number":1449,"title":"Case Compare / Singleton Object Issue","user":{"login":"wied03","id":297123,"avatar_url":"https://avatars.githubusercontent.com/u/297123?v=3","gravatar_id":"","url":"https://api.github.com/users/wied03","html_url":"https://github.com/wied03","followers_url":"https://api.github.com/users/wied03/followers","following_url":"https://api.github.com/users/wied03/following{/other_user}","gists_url":"https://api.github.com/users/wied03/gists{/gist_id}","starred_url":"https://api.github.com/users/wied03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wied03/subscriptions","organizations_url":"https://api.github.com/users/wied03/orgs","repos_url":"https://api.github.com/users/wied03/repos","events_url":"https://api.github.com/users/wied03/events{/privacy}","received_events_url":"https://api.github.com/users/wied03/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-21T00:34:55Z","updated_at":"2016-04-21T00:54:31Z","closed_at":null,"body":"When a module defines the case compare operator, it also breaks usages of the case compare operator when that module is on the RHS of the operator.\r\n\r\n```ruby\r\nmodule Foo\r\n  def self.===(*)\r\n    raise 'method contents are irrelevant to bug'\r\n  end\r\nend\r\n\r\nputs Class === Foo\r\n```\r\nMRI:\r\n```\r\nfalse\r\n```\r\nOpal via `bundle exec opal -A ancestors.rb`:\r\n```\r\ntrue\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/opal/opal/issues/comments/212675221","html_url":"https://github.com/opal/opal/issues/1449#issuecomment-212675221","issue_url":"https://api.github.com/repos/opal/opal/issues/1449","id":212675221,"user":{"login":"wied03","id":297123,"avatar_url":"https://avatars.githubusercontent.com/u/297123?v=3","gravatar_id":"","url":"https://api.github.com/users/wied03","html_url":"https://github.com/wied03","followers_url":"https://api.github.com/users/wied03/followers","following_url":"https://api.github.com/users/wied03/following{/other_user}","gists_url":"https://api.github.com/users/wied03/gists{/gist_id}","starred_url":"https://api.github.com/users/wied03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wied03/subscriptions","organizations_url":"https://api.github.com/users/wied03/orgs","repos_url":"https://api.github.com/users/wied03/repos","events_url":"https://api.github.com/users/wied03/events{/privacy}","received_events_url":"https://api.github.com/users/wied03/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T00:54:31Z","updated_at":"2016-04-21T00:54:31Z","body":"I created a Rubyspec for this - https://github.com/ruby/spec/pull/244"}}