{"action":"closed","issue":{"url":"https://api.github.com/repos/Quick/Nimble/issues/123","labels_url":"https://api.github.com/repos/Quick/Nimble/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/Quick/Nimble/issues/123/comments","events_url":"https://api.github.com/repos/Quick/Nimble/issues/123/events","html_url":"https://github.com/Quick/Nimble/issues/123","id":72055251,"number":123,"title":"beAKindOf and beAnInstanceOf should provide a more meaningful errors.","user":{"login":"jeffh","id":68616,"avatar_url":"https://avatars.githubusercontent.com/u/68616?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffh","html_url":"https://github.com/jeffh","followers_url":"https://api.github.com/users/jeffh/followers","following_url":"https://api.github.com/users/jeffh/following{/other_user}","gists_url":"https://api.github.com/users/jeffh/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffh/subscriptions","organizations_url":"https://api.github.com/users/jeffh/orgs","repos_url":"https://api.github.com/users/jeffh/repos","events_url":"https://api.github.com/users/jeffh/events{/privacy}","received_events_url":"https://api.github.com/users/jeffh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Quick/Nimble/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/Quick/Nimble/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-30T03:59:24Z","updated_at":"2015-06-10T17:55:43Z","closed_at":"2015-06-10T17:55:43Z","body":"Reference #121, #119.\r\n\r\nIt would be better if Nimble provided a useful error message when matching against Swift types:\r\n\r\n```swift\r\n// failed - beAKindOf only works on Objective-C types since the Swift compiler will automatically type check Swift-only types. This expectation is redundant.\r\nexpect(1).to(beAKindOf(Int))\r\n```"}}