@@ -64,9 +64,9 @@ isMonoType ty = isPolyType ty
6464isPolyType :: Type -> Bool
6565isPolyType (Array ty) = isMonoType ty
6666isPolyType (Object ps) = all isPolyType (map snd . fst $ rowToList ps)
67−isPolyType (Function args ret) = all isPolyType args && isMonoType ret
67+isPolyType (Function args ret) = all isPolyType args && isPolyType ret
6868isPolyType (TypeApp t1 t2) = isMonoType t1 && isMonoType t2
69−isPolyType (SaturatedTypeSynonym _ args) = all isMonoType args
69+isPolyType (SaturatedTypeSynonym _ args) = all isPolyType args
7070isPolyType (ForAll idents ty) = isPolyType ty
7171isPolyType _ = True
7272