Home
last modified time | relevance | path

Searched refs:FunSigCtxt (Results 1 – 14 of 14) sorted by relevance

/dports/devel/hs-hlint/hlint-3.3.4/_cabal_deps/ghc-lib-parser-9.0.1.20210324/compiler/GHC/Tc/Types/
H A DOrigin.hs58 = FunSigCtxt -- Function type signature, when checking the type constructor
127 pprUserTypeCtxt (FunSigCtxt n _) = text "the type signature for" <+> quotes (ppr n)
157 isSigMaybe (FunSigCtxt n _) = Just n
281 FunSigCtxt f _ -> vcat [ text "the type signature for:"
550 FunSigCtxt n _ -> text "for" <+> quotes (ppr n)
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/ghc-lib-parser-8.10.7.20210828/compiler/typecheck/
H A DTcOrigin.hs60 = FunSigCtxt -- Function type signature, when checking the type constructor
129 pprUserTypeCtxt (FunSigCtxt n _) = text "the type signature for" <+> quotes (ppr n)
159 isSigMaybe (FunSigCtxt n _) = Just n
277 FunSigCtxt f _ -> vcat [ text "the type signature for:"
550 FunSigCtxt n _ -> text "for" <+> quotes (ppr n)
/dports/devel/hs-ormolu/ormolu-0.4.0.0/_cabal_deps/ghc-lib-parser-9.2.1.20211101/compiler/GHC/Tc/Types/
H A DOrigin.hs61 = FunSigCtxt -- Function type signature, when checking the type constructor
127 pprUserTypeCtxt (FunSigCtxt n _) = text "the type signature for" <+> quotes (ppr n)
155 isSigMaybe (FunSigCtxt n _) = Just n
278 FunSigCtxt f _ -> vcat [ text "the type signature for:"
554 FunSigCtxt n _ -> text "for" <+> quotes (ppr n)
/dports/lang/ghc/ghc-8.10.7/compiler/typecheck/
H A DTcSigs.hs188 = do { let ctxt = FunSigCtxt (idName id) False
241 Just n -> FunSigCtxt n False
244 Just n -> FunSigCtxt n True
769 = do { spec_ty <- tcHsSigType (FunSigCtxt name False) hs_ty
770 ; wrap <- tcSpecWrapper (FunSigCtxt name True) poly_ty spec_ty
H A DTcOrigin.hs60 = FunSigCtxt -- Function type signature, when checking the type constructor
129 pprUserTypeCtxt (FunSigCtxt n _) = text "the type signature for" <+> quotes (ppr n)
159 isSigMaybe (FunSigCtxt n _) = Just n
277 FunSigCtxt f _ -> vcat [ text "the type signature for:"
550 FunSigCtxt n _ -> text "for" <+> quotes (ppr n)
H A DTcInstDcls.hs1785 = do { let ctxt = FunSigCtxt sel_name True
1790 ; sig_ty <- tcHsSigType (FunSigCtxt sel_name False) hs_sig_ty
1818 = do { let ctxt = FunSigCtxt sel_name False
H A DTcClassDcl.hs277 ctxt = FunSigCtxt sel_name warn_redundant
H A DTcValidity.hs360 FunSigCtxt {} -> rank1
509 vdqAllowed (FunSigCtxt {}) = False
1319 okIPCtxt (FunSigCtxt {}) = True
H A DTcMatches.hs91 <- tcSkolemiseET (FunSigCtxt fun_name True) exp_ty $ \ exp_rho ->
H A DTcSimplify.hs1829 FunSigCtxt _ warn_redundant -> warn_redundant
H A DTcBinds.hs309 = do { sigma_ty <- tcHsSigWcType (FunSigCtxt name False) hs_ty
H A DTcHsType.hs167 funsSigCtxt (L _ name1 : _) = FunSigCtxt name1 False
H A DTcRnDriver.hs1746 skol_info = SigSkol (FunSigCtxt main_name False) io_ty []
H A DTcTyClsDecls.hs4003 ctxt = FunSigCtxt op_name True -- Report redundant class constraints