Skip to content

Commit

Permalink
Fix #964, type variable escaping constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
process-bot committed Jun 10, 2015
1 parent 54dae77 commit d5d6028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Type/Constrain/Expression.hs
Expand Up @@ -98,7 +98,7 @@ constrain env (A.A region expression) tipe =
argVar' <- variable Flexible
resultVar <- variable Flexible

return $ ex [argVar,argVar',resultVar] $ CAnd $
return $ ex [funcVar, argVar, argVar', resultVar] $ CAnd $
[ argCon
, funcCon
, CEqual (Error.ExtraArgument funcRegion) region
Expand Down

0 comments on commit d5d6028

Please sign in to comment.