Skip to content

Commit

Permalink
Comments only (#11513)
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Eisenberg committed Feb 17, 2016
1 parent 525b54c commit 0c420cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler/basicTypes/DataCon.hs
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,8 @@ mkDataCon name declared_infix prom_info

tag = assoc "mkDataCon" (tyConDataCons rep_tycon `zip` [fIRST_TAG..]) con
rep_arg_tys = dataConRepArgTys con
-- NB: This type is user-facing for datatypes that don't need wrappers;
-- so it's important to use mkSpecForAllTys
rep_ty = mkSpecForAllTys univ_tvs $ mkSpecForAllTys ex_tvs $
mkFunTys rep_arg_tys $
mkTyConApp rep_tycon (mkTyVarTys univ_tvs)
Expand Down

0 comments on commit 0c420cb

Please sign in to comment.