Skip to content
Snippets Groups Projects
Commit d43851fc authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1999-07-30 11:26:09 by simonmar]

typePrimRep should work on the repType, avoiding foralls etc.
parent a5d4d171
No related merge requests found
......@@ -872,7 +872,7 @@ isNewType ty = case splitTyConApp_maybe ty of
other -> False
typePrimRep :: Type -> PrimRep
typePrimRep ty = case splitTyConApp_maybe ty of
typePrimRep ty = case splitTyConApp_maybe (repType ty) of
Just (tc, ty_args) -> tyConPrimRep tc
other -> PtrRep
\end{code}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment