Skip to content

Commit

Permalink
support hcomp in typechecker
Browse files Browse the repository at this point in the history
  • Loading branch information
Anders Mörtberg committed Oct 16, 2018
1 parent d48d58d commit a5c6f94
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions TypeChecker.hs
Expand Up @@ -483,6 +483,12 @@ infer e = case e of
check va0 t0
checkPLamSystem t0 va ps
return va1
HComp a u0 us -> do
check VU a
va <- evalTyping a
check va u0
checkPLamSystem u0 (constPath va) us
return va
Fill a t0 ps -> do
(va0, va1) <- checkPLam (constPath VU) a
va <- evalTyping a
Expand Down

0 comments on commit a5c6f94

Please sign in to comment.