Skip to content

Commit

Permalink
disable kind assertion for now
Browse files Browse the repository at this point in the history
  • Loading branch information
daanx committed Mar 4, 2024
1 parent cfd2851 commit 656e861
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Type/TypeVar.hs
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,12 @@ subFind :: HasCallStack => TypeVar -> Sub -> Tau
subFind tvar sub
= case subLookup tvar sub of
Nothing -> TVar tvar
Just tau -> assertion ("Type.TypeVar.subFind: incompatible kind: "
Just tau -> {-
assertion ("Type.TypeVar.subFind: incompatible kind: "
++ "\n tvar: " ++ showTVar tvar ++ ":" ++ show (getKind tvar) ++ ","
++ "\n type: " ++ show tau ++ ":" ++ show (getKind tau))
(getKind tvar == getKind tau) $
-}
tau

showTVar (TypeVar id _ _)
Expand Down

0 comments on commit 656e861

Please sign in to comment.