{"action":"created","issue":{"url":"https://api.github.com/repos/racket/typed-racket/issues/456","repository_url":"https://api.github.com/repos/racket/typed-racket","labels_url":"https://api.github.com/repos/racket/typed-racket/issues/456/labels{/name}","comments_url":"https://api.github.com/repos/racket/typed-racket/issues/456/comments","events_url":"https://api.github.com/repos/racket/typed-racket/issues/456/events","html_url":"https://github.com/racket/typed-racket/issues/456","id":188676718,"number":456,"title":"require/typed #opaque -> contract violation","user":{"login":"acarrico","id":1452440,"avatar_url":"https://avatars.githubusercontent.com/u/1452440?v=3","gravatar_id":"","url":"https://api.github.com/users/acarrico","html_url":"https://github.com/acarrico","followers_url":"https://api.github.com/users/acarrico/followers","following_url":"https://api.github.com/users/acarrico/following{/other_user}","gists_url":"https://api.github.com/users/acarrico/gists{/gist_id}","starred_url":"https://api.github.com/users/acarrico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acarrico/subscriptions","organizations_url":"https://api.github.com/users/acarrico/orgs","repos_url":"https://api.github.com/users/acarrico/repos","events_url":"https://api.github.com/users/acarrico/events{/privacy}","received_events_url":"https://api.github.com/users/acarrico/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-11-11T03:25:38Z","updated_at":"2016-11-12T03:36:15Z","closed_at":null,"body":"As detailed in test case: https://gist.github.com/acarrico/850f9d7112104afd3e5a6dd916edf1ae\r\n```\r\n(require/typed \"untyped.rkt\"\r\n  (#:opaque XPointer x-pointer?)\r\n  (make-x (-> XPointer))\r\n  (take-x (-> XPointer Void)))\r\n```\r\nSucceeds in Racket 6.2, fails with contract violation in 6.6, 6.7. \r\n"},"comment":{"url":"https://api.github.com/repos/racket/typed-racket/issues/comments/260099092","html_url":"https://github.com/racket/typed-racket/issues/456#issuecomment-260099092","issue_url":"https://api.github.com/repos/racket/typed-racket/issues/456","id":260099092,"user":{"login":"acarrico","id":1452440,"avatar_url":"https://avatars.githubusercontent.com/u/1452440?v=3","gravatar_id":"","url":"https://api.github.com/users/acarrico","html_url":"https://github.com/acarrico","followers_url":"https://api.github.com/users/acarrico/followers","following_url":"https://api.github.com/users/acarrico/following{/other_user}","gists_url":"https://api.github.com/users/acarrico/gists{/gist_id}","starred_url":"https://api.github.com/users/acarrico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acarrico/subscriptions","organizations_url":"https://api.github.com/users/acarrico/orgs","repos_url":"https://api.github.com/users/acarrico/repos","events_url":"https://api.github.com/users/acarrico/events{/privacy}","received_events_url":"https://api.github.com/users/acarrico/received_events","type":"User","site_admin":false},"created_at":"2016-11-12T03:36:15Z","updated_at":"2016-11-12T03:36:15Z","body":"Thanks. I understand. To avoid `unsafe-require/typed`, `#:opaque` should really create two predicates:\r\n  * one fully guarded (parameter, result), to use in fully typed code.\r\n  * one half guarded (result only) for use at the untyped->typed boundary in require/typed.\r\n\r\nI don't know if that is actually feasible."}}
{"actor":{"display_login":"acarrico"}}