mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-09-13 22:06:01 -06:00
simplify the Term again
This commit is contained in:
@@ -132,8 +132,6 @@ computeTermOpt rec gr = comput True where
|
||||
|
||||
_ -> returnC $ P t' l
|
||||
|
||||
PI t l i -> comp g $ P t l -----
|
||||
|
||||
S t v -> do
|
||||
t' <- compTable g t
|
||||
v' <- comp g v
|
||||
|
||||
@@ -131,7 +131,6 @@ inferLType gr g trm = case trm of
|
||||
Just x -> return x
|
||||
_ -> checkError (text "record type expected for:" <+> ppTerm Unqualified 0 t $$
|
||||
text " instead of the inferred:" <+> ppTerm Unqualified 0 ty')
|
||||
PI t i _ -> inferLType gr g $ P t i
|
||||
|
||||
R r -> do
|
||||
let (ls,fs) = unzip r
|
||||
|
||||
Reference in New Issue
Block a user