projects
/
cubicaltt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a08046c
)
bugfix
author
Simon Huber
<hubsim@gmail.com>
Sat, 18 Apr 2015 03:26:04 +0000
(
05:26
+0200)
committer
Simon Huber
<hubsim@gmail.com>
Sat, 18 Apr 2015 03:26:04 +0000
(
05:26
+0200)
TypeChecker.hs
patch
|
blob
|
blame
|
history
diff --git
a/TypeChecker.hs
b/TypeChecker.hs
index a6d36946b750ca730611b4c1a142d626b8189381..d5d180eabbbbaa6a2945f2b49dbb5a216bfd7e7a 100644
(file)
--- a/
TypeChecker.hs
+++ b/
TypeChecker.hs
@@
-169,8
+169,8
@@
check a t = case (a,t) of
local (addSubs iis) $ localM (addTele tele) $ do
\r
checkSystemWith ts $ \alpha talpha ->
\r
local (faceEnv alpha) $ do
\r
- rhoAlpha <- asks env
\r
- check (Ter t rho
Alpha
) talpha
\r
+ -- NB: the type doesn't depend on is
\r
+ check (Ter t rho) talpha
\r
rho' <- asks env
\r
checkCompSystem (evalSystem rho' ts)
\r
(VPi va@(Ter (Sum _ _ cas) nu) f,Split _ _ ty ces) -> do
\r