diff options
author | Ryan Scott <ryan.gl.scott@gmail.com> | 2019-03-12 18:15:38 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-03-15 10:17:54 -0400 |
commit | 610ec224a49e092c802a336570fd9613ea15ef3c (patch) | |
tree | cc79ac561669b51099eb37f222e8179d48a54d59 /compiler/iface | |
parent | afc80730fd235f5c5b2d0b9fc5a10c16ef9865f6 (diff) | |
download | haskell-610ec224a49e092c802a336570fd9613ea15ef3c.tar.gz |
Update Trac ticket URLs to point to GitLab
This moves all URL references to Trac tickets to their corresponding
GitLab counterparts.
Diffstat (limited to 'compiler/iface')
-rw-r--r-- | compiler/iface/BuildTyCl.hs | 2 | ||||
-rw-r--r-- | compiler/iface/FlagChecker.hs | 4 | ||||
-rw-r--r-- | compiler/iface/IfaceSyn.hs | 2 | ||||
-rw-r--r-- | compiler/iface/IfaceType.hs | 4 | ||||
-rw-r--r-- | compiler/iface/LoadIface.hs | 2 | ||||
-rw-r--r-- | compiler/iface/MkIface.hs | 6 | ||||
-rw-r--r-- | compiler/iface/TcIface.hs | 10 | ||||
-rw-r--r-- | compiler/iface/ToIface.hs | 8 |
8 files changed, 19 insertions, 19 deletions
diff --git a/compiler/iface/BuildTyCl.hs b/compiler/iface/BuildTyCl.hs index 4cbcb963d6..dc1c843889 100644 --- a/compiler/iface/BuildTyCl.hs +++ b/compiler/iface/BuildTyCl.hs @@ -370,7 +370,7 @@ Consider We cannot represent this by a newtype, even though it's not existential, because there are two value fields (the equality -predicate and op. See Trac #2238 +predicate and op. See #2238 Moreover, class (a ~ F b) => C a b where {} diff --git a/compiler/iface/FlagChecker.hs b/compiler/iface/FlagChecker.hs index 2ef369a5e9..a9ab4c97d7 100644 --- a/compiler/iface/FlagChecker.hs +++ b/compiler/iface/FlagChecker.hs @@ -73,7 +73,7 @@ fingerprintOptFlags :: DynFlags -> IO Fingerprint fingerprintOptFlags DynFlags{..} nameio = let - -- See https://ghc.haskell.org/trac/ghc/ticket/10923 + -- See https://gitlab.haskell.org/ghc/ghc/issues/10923 -- We used to fingerprint the optimisation level, but as Joachim -- Breitner pointed out in comment 9 on that ticket, it's better -- to ignore that and just look at the individual optimisation flags. @@ -91,7 +91,7 @@ fingerprintHpcFlags :: DynFlags -> IO Fingerprint fingerprintHpcFlags dflags@DynFlags{..} nameio = let - -- -fhpc, see https://ghc.haskell.org/trac/ghc/ticket/11798 + -- -fhpc, see https://gitlab.haskell.org/ghc/ghc/issues/11798 -- hpcDir is output-only, so we should recompile if it changes hpc = if gopt Opt_Hpc dflags then Just hpcDir else Nothing diff --git a/compiler/iface/IfaceSyn.hs b/compiler/iface/IfaceSyn.hs index 05f64dff5a..b066f5cf37 100644 --- a/compiler/iface/IfaceSyn.hs +++ b/compiler/iface/IfaceSyn.hs @@ -745,7 +745,7 @@ pprIfaceDecl ss (IfaceData { ifName = tycon, ifCType = ctype, (occName tycon)) binders roles -- Don't display roles for data family instances (yet) - -- See discussion on Trac #8672. + -- See discussion on #8672. add_bars [] = Outputable.empty add_bars (c:cs) = sep ((equals <+> c) : map (vbar <+>) cs) diff --git a/compiler/iface/IfaceType.hs b/compiler/iface/IfaceType.hs index e2235ab01f..4488aef025 100644 --- a/compiler/iface/IfaceType.hs +++ b/compiler/iface/IfaceType.hs @@ -853,7 +853,7 @@ pretty-printing (defaultRuntimeRepVars, controlled by This applies to /quantified/ variables like 'w' above. What about variables that are /free/ in the type being printed, which certainly -happens in error messages. Suppose (Trac #16074) we are reporting a +happens in error messages. Suppose (#16074) we are reporting a mismatch between two skolems (a :: RuntimeRep) ~ (b :: RuntimeRep) We certainly don't want to say "Can't match LiftedRep ~ LiftedRep"! @@ -1169,7 +1169,7 @@ family instances as Specified. Note [Printing promoted type constructors] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Consider this GHCi session (Trac #14343) +Consider this GHCi session (#14343) > _ :: Proxy '[ 'True ] error: Found hole: _ :: Proxy '['True] diff --git a/compiler/iface/LoadIface.hs b/compiler/iface/LoadIface.hs index 927c49b7be..497ddfc179 100644 --- a/compiler/iface/LoadIface.hs +++ b/compiler/iface/LoadIface.hs @@ -876,7 +876,7 @@ It is possible (though hard) to get this error through user behaviour. is a home-package module which is not yet in the HPT! Disaster. This actually happened with P=base, Q=ghc-prim, via the AMP warnings. -See Trac #8320. +See #8320. -} findAndReadIface :: SDoc diff --git a/compiler/iface/MkIface.hs b/compiler/iface/MkIface.hs index 1ea608e787..440f89fb4c 100644 --- a/compiler/iface/MkIface.hs +++ b/compiler/iface/MkIface.hs @@ -625,7 +625,7 @@ addFingerprints hsc_env mb_old_fingerprint iface0 new_decls -- Note [Do not update EPS with your own hi-boot] -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -- (See also Trac #10182). When your hs-boot file includes an orphan + -- (See also #10182). When your hs-boot file includes an orphan -- instance declaration, you may find that the dep_orphs of a module you -- import contains reference to yourself. DO NOT actually load this module -- or add it to the orphan hashes: you're going to provide the orphan @@ -991,7 +991,7 @@ declExtras fix_fn ann_fn rule_env inst_env fi_env dm_env decl insts = (map ifDFun $ (concatMap at_extras ats) ++ lookupOccEnvL inst_env n) -- Include instances of the associated types - -- as well as instances of the class (Trac #5147) + -- as well as instances of the class (#5147) meths = [id_extras (getOccName op) | IfaceClassOp op _ _ <- sigs] -- Names of all the default methods (see Note [default method Name]) defms = [ dmName @@ -1136,7 +1136,7 @@ Note [Internal used_names] ~~~~~~~~~~~~~~~~~~~~~~~~~~ Most of the used_names are External Names, but we can have Internal Names too: see Note [Binders in Template Haskell] in Convert, and -Trac #5362 for an example. Such Names are always +#5362 for an example. Such Names are always - Such Names are always for locally-defined things, for which we don't gather usage info, so we can just ignore them in ent_map - They are always System Names, hence the assert, just as a double check. diff --git a/compiler/iface/TcIface.hs b/compiler/iface/TcIface.hs index 3874d8d6a2..732ee1b61a 100644 --- a/compiler/iface/TcIface.hs +++ b/compiler/iface/TcIface.hs @@ -16,7 +16,7 @@ module TcIface ( typecheckIfaceForInstantiate, tcIfaceDecl, tcIfaceInst, tcIfaceFamInst, tcIfaceRules, tcIfaceAnnotations, tcIfaceCompleteSigs, - tcIfaceExpr, -- Desired by HERMIT (Trac #7683) + tcIfaceExpr, -- Desired by HERMIT (#7683) tcIfaceGlobal ) where @@ -757,7 +757,7 @@ tc_iface_decl _parent ignore_prags -- class C (T a) => D a where -- data T a -- Here the associated type T is knot-tied with the class, and - -- so we must not pull on T too eagerly. See Trac #5970 + -- so we must not pull on T too eagerly. See #5970 tc_sig :: IfaceClassOp -> IfL TcMethInfo tc_sig (IfaceClassOp op_name rdr_ty dm) @@ -789,7 +789,7 @@ tc_iface_decl _parent ignore_prags ; return (Just (tc_def, noSrcSpan)) } -- Must be done lazily in case the RHS of the defaults mention -- the type constructor being defined here - -- e.g. type AT a; type AT b = AT [b] Trac #8002 + -- e.g. type AT a; type AT b = AT [b] #8002 return (ATI tc mb_def) mk_sc_doc pred = text "Superclass" <+> ppr pred @@ -804,7 +804,7 @@ tc_iface_decl _ _ (IfaceAxiom { ifName = tc_name, ifTyCon = tc -- a hs-boot declared type constructor that is going to be -- defined by this module. -- e.g. type instance F Int = ToBeDefined - -- See Trac #13803 + -- See #13803 ; tc_branches <- forkM (text "Axiom branches" <+> ppr tc_name) $ tc_ax_branches branches ; let axiom = CoAxiom { co_ax_unique = nameUnique tc_name @@ -992,7 +992,7 @@ Note [Synonym kind loop] ~~~~~~~~~~~~~~~~~~~~~~~~ Notice that we eagerly grab the *kind* from the interface file, but build a forkM thunk for the *rhs* (and family stuff). To see why, -consider this (Trac #2412) +consider this (#2412) M.hs: module M where { import X; data T = MkT S } X.hs: module X where { import {-# SOURCE #-} M; type S = T } diff --git a/compiler/iface/ToIface.hs b/compiler/iface/ToIface.hs index 3779e394cc..aa4e53cfb4 100644 --- a/compiler/iface/ToIface.hs +++ b/compiler/iface/ToIface.hs @@ -322,7 +322,7 @@ toIfaceAppArgsX fr kind ty_args -- e.g. kind = k, ty_args = [Int] -- This is probably a compiler bug, so we print a trace and -- carry on as if it were FunTy. Without the test for - -- isEmptyTCvSubst we'd get an infinite loop (Trac #15473) + -- isEmptyTCvSubst we'd get an infinite loop (#15473) WARN( True, ppr kind $$ ppr ty_args ) IA_Arg (toIfaceTypeX fr t1) Required (go env ty ts1) @@ -522,7 +522,7 @@ toIfaceTickish (HpcTick modl ix) = Just (IfaceHpcTick modl ix) toIfaceTickish (SourceNote src names) = Just (IfaceSource src names) toIfaceTickish (Breakpoint {}) = Nothing -- Ignore breakpoints, since they are relevant only to GHCi, and - -- should not be serialised (Trac #8333) + -- should not be serialised (#8333) --------------------- toIfaceBind :: Bind Id -> IfaceBinding @@ -581,7 +581,7 @@ toIfaceVar v {- Note [Inlining and hs-boot files] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Consider this example (Trac #10083, #12789): +Consider this example (#10083, #12789): ---------- RSR.hs-boot ------------ module RSR where @@ -643,7 +643,7 @@ But how do we arrange for this to happen? There are two ingredients: Here is a solution that doesn't work: when compiling RSR, add a NOINLINE pragma to every function exported by the boot-file for RSR (if it exists). Doing so makes the bootstrapped GHC itself -slower by 8% overall (on Trac #9872a-d, and T1969: the reason +slower by 8% overall (on #9872a-d, and T1969: the reason is that these NOINLINE'd functions now can't be profitably inlined outside of the hs-boot loop. |