aboutsummaryrefslogtreecommitdiff
path: root/typecheck/CC/Typecheck/Types.hs
diff options
context:
space:
mode:
Diffstat (limited to 'typecheck/CC/Typecheck/Types.hs')
-rw-r--r--typecheck/CC/Typecheck/Types.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/typecheck/CC/Typecheck/Types.hs b/typecheck/CC/Typecheck/Types.hs
index 3f3c471..3009ca1 100644
--- a/typecheck/CC/Typecheck/Types.hs
+++ b/typecheck/CC/Typecheck/Types.hs
@@ -99,5 +99,4 @@ convertType' aliases extraVars sr origtype = do
convert mp (S.TTup ts) = T.TTup (map (convert mp) ts)
convert mp (S.TNamed n ts) = T.TNamed n (map (convert mp) ts)
convert mp (S.TUnion ts) = T.TUnion (Set.map (convert mp) ts)
- -- TODO: Should this be Rigid? I really don't know how this works.
- convert mp (S.TyVar n) = T.TyVar T.Rigid (mp Map.! n)
+ convert mp (S.TyVar n) = T.TyVar T.Instantiable (mp Map.! n)