X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2FhsSyn%2FHsTypes.lhs;h=d3f5ce8578b9925247e7d1abb1a22f587c2e5fef;hp=d5b674be34946373b5554b4363c6734547abddc2;hb=63489d40bdee972656ff115ab2309b809c0e39fc;hpb=8a25c54e2df36b3fb40436e5b887dddc3c64ab54 diff --git a/compiler/hsSyn/HsTypes.lhs b/compiler/hsSyn/HsTypes.lhs index d5b674b..d3f5ce8 100644 --- a/compiler/hsSyn/HsTypes.lhs +++ b/compiler/hsSyn/HsTypes.lhs @@ -157,7 +157,7 @@ data HsType name | HsSpliceTy (HsSplice name) - | HsDocTy (LHsType name) (LHsDoc name) -- A documented type + | HsDocTy (LHsType name) LHsDocString -- A documented type | HsBangTy HsBang (LHsType name) -- Bang-style type annotations | HsRecTy [ConDeclField name] -- Only in data type declarations @@ -169,7 +169,7 @@ data HsExplicitForAll = Explicit | Implicit data ConDeclField name -- Record fields have Haddoc docs on them = ConDeclField { cd_fld_name :: Located name, cd_fld_type :: LBangType name, - cd_fld_doc :: Maybe (LHsDoc name) } + cd_fld_doc :: Maybe LHsDocString } -----------------------