{"action":"opened","issue":{"url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/402","labels_url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/402/labels{/name}","comments_url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/402/comments","events_url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/402/events","html_url":"https://github.com/CausalityLtd/ponyc/issues/402","id":118285810,"number":402,"title":"assertion failure in capture","user":{"login":"fowles","id":46858,"avatar_url":"https://avatars.githubusercontent.com/u/46858?v=3","gravatar_id":"","url":"https://api.github.com/users/fowles","html_url":"https://github.com/fowles","followers_url":"https://api.github.com/users/fowles/followers","following_url":"https://api.github.com/users/fowles/following{/other_user}","gists_url":"https://api.github.com/users/fowles/gists{/gist_id}","starred_url":"https://api.github.com/users/fowles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fowles/subscriptions","organizations_url":"https://api.github.com/users/fowles/orgs","repos_url":"https://api.github.com/users/fowles/repos","events_url":"https://api.github.com/users/fowles/events{/privacy}","received_events_url":"https://api.github.com/users/fowles/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-22T20:21:08Z","updated_at":"2015-11-22T20:21:08Z","closed_at":null,"body":"```\r\nuse \"files\"\r\n\r\nclass Holder\r\n  let _env: Env\r\n  new create(env': Env) => _env = env'\r\n  fun env(): Env => _env\r\n\r\nactor Main\r\n  new create(env: Env) =>\r\n    let h = Holder(env)\r\n    let l = lambda()(e = h.env()): (AmbientAuth|None) => e.root end\r\n    env.out.print(FilePath(l(), \".\"))\r\n```\r\n\r\n    Assertion failed: (type != NULL), function sanitise_type, file src/libponyc/type/sanitise.c, line 123."}}