projects
/
cubicaltt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
138fd1c
)
Bugfix in inferType
author
Simon Huber
<hubsim@gmail.com>
Fri, 15 Jan 2016 16:38:32 +0000
(17:38 +0100)
committer
Simon Huber
<hubsim@gmail.com>
Fri, 15 Jan 2016 16:38:32 +0000
(17:38 +0100)
Eval.hs
patch
|
blob
|
blame
|
history
diff --git
a/Eval.hs
b/Eval.hs
index 20485cbe6cc8787b6d5305285d44fd707121fd9c..1c16551f457745b54d5d3c002e7fde4f382a3aa1 100644
(file)
--- a/
Eval.hs
+++ b/
Eval.hs
@@
-256,7
+256,8
@@
inferType v = case v of
ty -> error $ "inferType: expected IdP type for " ++ show v
++ ", got " ++ show ty
VComp a _ _ -> a @@ One
- VUnGlueElemU _ b es -> compUniv b es
+ VUnGlueElem _ b _ -> b
+ VUnGlueElemU _ b _ -> b
_ -> error $ "inferType: not neutral " ++ show v
(@@) :: ToFormula a => Val -> a -> Val