Updated bug list & started working on more tests
This commit is contained in:
parent
f5b5f11903
commit
6947614fba
11 changed files with 80 additions and 59 deletions
|
|
@ -61,7 +61,7 @@ freshenData (Data (Constr name ts) constrs) = do
|
|||
where
|
||||
freshenType :: Ident -> Type -> Type
|
||||
freshenType iden = \case
|
||||
(TPol a) -> TPol iden
|
||||
(TPol _) -> TPol iden
|
||||
(TArr a b) -> TArr (freshenType iden a) (freshenType iden b)
|
||||
(TConstr (Constr a ts)) ->
|
||||
TConstr (Constr a (map (freshenType iden) ts))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue