{"action":"created","issue":{"url":"https://api.github.com/repos/scala-js/scala-js/issues/2709","repository_url":"https://api.github.com/repos/scala-js/scala-js","labels_url":"https://api.github.com/repos/scala-js/scala-js/issues/2709/labels{/name}","comments_url":"https://api.github.com/repos/scala-js/scala-js/issues/2709/comments","events_url":"https://api.github.com/repos/scala-js/scala-js/issues/2709/events","html_url":"https://github.com/scala-js/scala-js/issues/2709","id":198701088,"number":2709,"title":"Reflective call `eq` and `ne` on value class","user":{"login":"LukasKellenberger","id":5486443,"avatar_url":"https://avatars.githubusercontent.com/u/5486443?v=3","gravatar_id":"","url":"https://api.github.com/users/LukasKellenberger","html_url":"https://github.com/LukasKellenberger","followers_url":"https://api.github.com/users/LukasKellenberger/followers","following_url":"https://api.github.com/users/LukasKellenberger/following{/other_user}","gists_url":"https://api.github.com/users/LukasKellenberger/gists{/gist_id}","starred_url":"https://api.github.com/users/LukasKellenberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukasKellenberger/subscriptions","organizations_url":"https://api.github.com/users/LukasKellenberger/orgs","repos_url":"https://api.github.com/users/LukasKellenberger/repos","events_url":"https://api.github.com/users/LukasKellenberger/events{/privacy}","received_events_url":"https://api.github.com/users/LukasKellenberger/received_events","type":"User","site_admin":false},"labels":[{"id":28856109,"url":"https://api.github.com/repos/scala-js/scala-js/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/scala-js/scala-js/milestones/43","html_url":"https://github.com/scala-js/scala-js/milestone/43","labels_url":"https://api.github.com/repos/scala-js/scala-js/milestones/43/labels","id":2202591,"number":43,"title":"v0.6.15","description":"","creator":{"login":"sjrd","id":535934,"avatar_url":"https://avatars.githubusercontent.com/u/535934?v=3","gravatar_id":"","url":"https://api.github.com/users/sjrd","html_url":"https://github.com/sjrd","followers_url":"https://api.github.com/users/sjrd/followers","following_url":"https://api.github.com/users/sjrd/following{/other_user}","gists_url":"https://api.github.com/users/sjrd/gists{/gist_id}","starred_url":"https://api.github.com/users/sjrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjrd/subscriptions","organizations_url":"https://api.github.com/users/sjrd/orgs","repos_url":"https://api.github.com/users/sjrd/repos","events_url":"https://api.github.com/users/sjrd/events{/privacy}","received_events_url":"https://api.github.com/users/sjrd/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":5,"state":"open","created_at":"2016-12-17T23:53:35Z","updated_at":"2017-01-04T16:14:15Z","due_on":"2017-02-21T08:00:00Z","closed_at":null},"comments":2,"created_at":"2017-01-04T12:53:55Z","updated_at":"2017-01-05T08:00:38Z","closed_at":null,"body":"`eq` and `ne` are defined on `AnyRef` and not `Any`, which means that they can be implemented in value classes.\r\n\r\nThis leads to a wrong behaviour when doing a reflective call on one of these methods.\r\n\r\n```scala\r\nclass Foo(val f: Int) extends AnyVal {\r\n  def eq(other: AnyRef) = true\r\n}\r\n\r\ndef callEq(obj: Any { def eq(other: AnyRef): Boolean }, other: AnyRef) = obj.eq(other)\r\n\r\ncallEq(new Foo(0), List())\r\n``` \r\n\r\nThis should return `true`, but returns `false`."},"comment":{"url":"https://api.github.com/repos/scala-js/scala-js/issues/comments/270585237","html_url":"https://github.com/scala-js/scala-js/issues/2709#issuecomment-270585237","issue_url":"https://api.github.com/repos/scala-js/scala-js/issues/2709","id":270585237,"user":{"login":"gzm0","id":1140323,"avatar_url":"https://avatars.githubusercontent.com/u/1140323?v=3","gravatar_id":"","url":"https://api.github.com/users/gzm0","html_url":"https://github.com/gzm0","followers_url":"https://api.github.com/users/gzm0/followers","following_url":"https://api.github.com/users/gzm0/following{/other_user}","gists_url":"https://api.github.com/users/gzm0/gists{/gist_id}","starred_url":"https://api.github.com/users/gzm0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gzm0/subscriptions","organizations_url":"https://api.github.com/users/gzm0/orgs","repos_url":"https://api.github.com/users/gzm0/repos","events_url":"https://api.github.com/users/gzm0/events{/privacy}","received_events_url":"https://api.github.com/users/gzm0/received_events","type":"User","site_admin":false},"created_at":"2017-01-05T08:00:38Z","updated_at":"2017-01-05T08:00:38Z","body":"I *love* this one!"}}
{"actor":{"display_login":"gzm0"}}