X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Frename%2FRnSource.lhs;h=2d608011fae6960cb124e3b33ea5839cb10d7647;hb=a77abe6a30ea2763cfa1c0ca83cdce9b7200ced2;hp=7b85d5d827a543e74197bdba58ca052cbd8970e1;hpb=4250d64191132fd493985549eda5ca05b82a663f;p=ghc-hetmet.git diff --git a/ghc/compiler/rename/RnSource.lhs b/ghc/compiler/rename/RnSource.lhs index 7b85d5d..2d60801 100644 --- a/ghc/compiler/rename/RnSource.lhs +++ b/ghc/compiler/rename/RnSource.lhs @@ -354,12 +354,13 @@ rnConDecls tv_env con_decls returnRn (new_names, new_ty) rn_mono_ty = rnMonoType tv_env + rn_poly_ty = rnPolyType tv_env rn_bang_ty (Banged ty) - = rn_mono_ty ty `thenRn` \ new_ty -> + = rn_poly_ty ty `thenRn` \ new_ty -> returnRn (Banged new_ty) rn_bang_ty (Unbanged ty) - = rn_mono_ty ty `thenRn` \ new_ty -> + = rn_poly_ty ty `thenRn` \ new_ty -> returnRn (Unbanged new_ty) \end{code}