You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should fix the bug and make isNormalType respect normalization for built-in types which is defined as
normalizeUni::forallk (a::k) unityname. (HasUniApplyuni) =>uni (Esca) ->Typetynameuni()
normalizeUni uni =
matchUniApply
uni
-- If @uni@ is not an intra-universe application, then we're done.
(mkTyBuiltinOf () uni)
-- If it is, then we turn that application into normal type application and recurse-- into both the function and its argument.
(\uniF uniA ->TyApp() (normalizeUni uniF) $ normalizeUni uniA)
Plus we should add a test that normalizeType returns a normal type.
The text was updated successfully, but these errors were encountered:
PlutusCore.Check.Normal
is buggy:We should fix the bug and make
isNormalType
respect normalization for built-in types which is defined asPlus we should add a test that
normalizeType
returns a normal type.The text was updated successfully, but these errors were encountered: