{"action":"created","issue":{"url":"https://api.github.com/repos/milessabin/shapeless/issues/355","repository_url":"https://api.github.com/repos/milessabin/shapeless","labels_url":"https://api.github.com/repos/milessabin/shapeless/issues/355/labels{/name}","comments_url":"https://api.github.com/repos/milessabin/shapeless/issues/355/comments","events_url":"https://api.github.com/repos/milessabin/shapeless/issues/355/events","html_url":"https://github.com/milessabin/shapeless/issues/355","id":68089996,"number":355,"title":"Tests for casts in JS fail due to differing JS/JVM semantics","user":{"login":"InTheNow","id":5887373,"avatar_url":"https://avatars.githubusercontent.com/u/5887373?v=3","gravatar_id":"","url":"https://api.github.com/users/InTheNow","html_url":"https://github.com/InTheNow","followers_url":"https://api.github.com/users/InTheNow/followers","following_url":"https://api.github.com/users/InTheNow/following{/other_user}","gists_url":"https://api.github.com/users/InTheNow/gists{/gist_id}","starred_url":"https://api.github.com/users/InTheNow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InTheNow/subscriptions","organizations_url":"https://api.github.com/users/InTheNow/orgs","repos_url":"https://api.github.com/users/InTheNow/repos","events_url":"https://api.github.com/users/InTheNow/events{/privacy}","received_events_url":"https://api.github.com/users/InTheNow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/milessabin/shapeless/labels/Blocked/needs%20help","name":"Blocked/needs help","color":"e11d21"},{"url":"https://api.github.com/repos/milessabin/shapeless/labels/Design/refactoring","name":"Design/refactoring","color":"fbca04"},{"url":"https://api.github.com/repos/milessabin/shapeless/labels/Scala/JS","name":"Scala/JS","color":"f7c6c7"},{"url":"https://api.github.com/repos/milessabin/shapeless/labels/Testing","name":"Testing","color":"006b75"}],"state":"closed","locked":false,"assignee":{"login":"InTheNow","id":5887373,"avatar_url":"https://avatars.githubusercontent.com/u/5887373?v=3","gravatar_id":"","url":"https://api.github.com/users/InTheNow","html_url":"https://github.com/InTheNow","followers_url":"https://api.github.com/users/InTheNow/followers","following_url":"https://api.github.com/users/InTheNow/following{/other_user}","gists_url":"https://api.github.com/users/InTheNow/gists{/gist_id}","starred_url":"https://api.github.com/users/InTheNow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InTheNow/subscriptions","organizations_url":"https://api.github.com/users/InTheNow/orgs","repos_url":"https://api.github.com/users/InTheNow/repos","events_url":"https://api.github.com/users/InTheNow/events{/privacy}","received_events_url":"https://api.github.com/users/InTheNow/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/milessabin/shapeless/milestones/5","html_url":"https://github.com/milessabin/shapeless/milestones/shapeless-2.3.0","labels_url":"https://api.github.com/repos/milessabin/shapeless/milestones/5/labels","id":1020558,"number":5,"title":"shapeless-2.3.0","description":"","creator":{"login":"milessabin","id":131183,"avatar_url":"https://avatars.githubusercontent.com/u/131183?v=3","gravatar_id":"","url":"https://api.github.com/users/milessabin","html_url":"https://github.com/milessabin","followers_url":"https://api.github.com/users/milessabin/followers","following_url":"https://api.github.com/users/milessabin/following{/other_user}","gists_url":"https://api.github.com/users/milessabin/gists{/gist_id}","starred_url":"https://api.github.com/users/milessabin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milessabin/subscriptions","organizations_url":"https://api.github.com/users/milessabin/orgs","repos_url":"https://api.github.com/users/milessabin/repos","events_url":"https://api.github.com/users/milessabin/events{/privacy}","received_events_url":"https://api.github.com/users/milessabin/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":31,"state":"open","created_at":"2015-03-13T15:53:17Z","updated_at":"2016-02-11T19:42:25Z","due_on":"2016-02-12T00:00:00Z","closed_at":null},"comments":6,"created_at":"2015-04-13T12:56:11Z","updated_at":"2016-02-11T19:42:25Z","closed_at":"2016-02-11T19:42:25Z","body":"Tests [such as TypeableTests.testTuples](https://github.com/milessabin/shapeless/blob/master/core/src/test/scala/shapeless/typeable.scala#L326) fail on JS as it is a dynamic language and tries to cast anything it can. These types of tests need to be changed on JS only to return false (i.e. they are not empty).\r\n\r\nSee [Semantics of Scala.js](http://www.scala-js.org/doc/semantics.html)"},"comment":{"url":"https://api.github.com/repos/milessabin/shapeless/issues/comments/183031263","html_url":"https://github.com/milessabin/shapeless/issues/355#issuecomment-183031263","issue_url":"https://api.github.com/repos/milessabin/shapeless/issues/355","id":183031263,"user":{"login":"milessabin","id":131183,"avatar_url":"https://avatars.githubusercontent.com/u/131183?v=3","gravatar_id":"","url":"https://api.github.com/users/milessabin","html_url":"https://github.com/milessabin","followers_url":"https://api.github.com/users/milessabin/followers","following_url":"https://api.github.com/users/milessabin/following{/other_user}","gists_url":"https://api.github.com/users/milessabin/gists{/gist_id}","starred_url":"https://api.github.com/users/milessabin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milessabin/subscriptions","organizations_url":"https://api.github.com/users/milessabin/orgs","repos_url":"https://api.github.com/users/milessabin/repos","events_url":"https://api.github.com/users/milessabin/events{/privacy}","received_events_url":"https://api.github.com/users/milessabin/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T19:42:25Z","updated_at":"2016-02-11T19:42:25Z","body":"Fixed in 2e1a48ef5826e9df3b0aff66ea0d84341450a4a0."}}