more symbols and changed err msg
This commit is contained in:
parent
0dc06eaf80
commit
4f21a58200
2 changed files with 2 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ desugarType = \case
|
|||
let (name : tvars) = flatten t1 ++ [t2]
|
||||
in case name of
|
||||
TIdent ident -> TData ident (map desugarType tvars)
|
||||
_ -> error "desugarType in Desugar.hs is not implemented correctly"
|
||||
_ -> error "desugarType is not implemented correctly"
|
||||
TLit l -> TLit l
|
||||
TVar v -> TVar v
|
||||
(TAll i t) -> TAll i (desugarType t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue