back to inj

This commit is contained in:
sebastianselander 2023-05-05 12:22:36 +02:00
parent 47cbf12cd1
commit 513cb34eb5

View file

@ -335,7 +335,7 @@ algoW = \case
case M.lookup (coerce i) constr of
Just t -> do
t <- freshen t
return (nullSubst, (T.EVar $ coerce i, t))
return (nullSubst, (T.EInj $ coerce i, t))
Nothing ->
uncatchableErr $ Aux.do
"Constructor:"