{"action":"created","issue":{"url":"https://api.github.com/repos/Beluga-lang/Beluga/issues/8","labels_url":"https://api.github.com/repos/Beluga-lang/Beluga/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/Beluga-lang/Beluga/issues/8/comments","events_url":"https://api.github.com/repos/Beluga-lang/Beluga/issues/8/events","html_url":"https://github.com/Beluga-lang/Beluga/issues/8","id":81570462,"number":8,"title":"Improvement for holes","user":{"login":"fferreira","id":20740,"avatar_url":"https://avatars.githubusercontent.com/u/20740?v=3","gravatar_id":"","url":"https://api.github.com/users/fferreira","html_url":"https://github.com/fferreira","followers_url":"https://api.github.com/users/fferreira/followers","following_url":"https://api.github.com/users/fferreira/following{/other_user}","gists_url":"https://api.github.com/users/fferreira/gists{/gist_id}","starred_url":"https://api.github.com/users/fferreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fferreira/subscriptions","organizations_url":"https://api.github.com/users/fferreira/orgs","repos_url":"https://api.github.com/users/fferreira/repos","events_url":"https://api.github.com/users/fferreira/events{/privacy}","received_events_url":"https://api.github.com/users/fferreira/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-27T18:40:05Z","updated_at":"2015-05-27T22:41:05Z","closed_at":null,"body":"Hole information is not printed when there are left over variables after reconstruction. Reconstruction should fail after printing the hole information.\r\n\r\nFor example with this program:\r\nnat : type.\r\nz : nat.\r\n\r\nvec : nat -> type.\r\nnil : vec z.\r\n\r\ninductive Foo : ctype =\r\n| C : [|- vec M] -> Foo\r\n;\r\n\r\nrec f : [|- nat] -> Foo = \r\nfn n => C ? % reconstruction fails before printing the context for ?\r\n;\r\n\r\nlet v = f [|- z];\r\n"},"comment":{"url":"https://api.github.com/repos/Beluga-lang/Beluga/issues/comments/106100998","html_url":"https://github.com/Beluga-lang/Beluga/issues/8#issuecomment-106100998","issue_url":"https://api.github.com/repos/Beluga-lang/Beluga/issues/8","id":106100998,"user":{"login":"ajcave","id":790921,"avatar_url":"https://avatars.githubusercontent.com/u/790921?v=3","gravatar_id":"","url":"https://api.github.com/users/ajcave","html_url":"https://github.com/ajcave","followers_url":"https://api.github.com/users/ajcave/followers","following_url":"https://api.github.com/users/ajcave/following{/other_user}","gists_url":"https://api.github.com/users/ajcave/gists{/gist_id}","starred_url":"https://api.github.com/users/ajcave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajcave/subscriptions","organizations_url":"https://api.github.com/users/ajcave/orgs","repos_url":"https://api.github.com/users/ajcave/repos","events_url":"https://api.github.com/users/ajcave/events{/privacy}","received_events_url":"https://api.github.com/users/ajcave/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T22:41:05Z","updated_at":"2015-05-27T22:41:05Z","body":"This minor variation doesn't work correctly:\r\n\r\n```\r\nat : type.\r\nz : nat.\r\n\r\nvec : nat -> type.\r\nnil : vec z.\r\n\r\ninductive Foo : ctype =\r\n| C : [|- vec M] -> Foo\r\n;\r\n\r\nrec f : {N:[|- nat]} Foo =\r\nmlam N => C ?\r\n;\r\n```"}}