Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-ghc-lib-parser for openSUSE:Factory checked in at 2023-09-04 22:53:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-ghc-lib-parser (Old) and /work/SRC/openSUSE:Factory/.ghc-ghc-lib-parser.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-ghc-lib-parser" Mon Sep 4 22:53:46 2023 rev:4 rq:1108866 version:9.4.7.20230826 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-ghc-lib-parser/ghc-ghc-lib-parser.changes 2023-08-18 19:28:18.231309952 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-ghc-lib-parser.new.1766/ghc-ghc-lib-parser.changes 2023-09-04 22:54:31.997784643 +0200 @@ -1,0 +2,6 @@ +Sat Aug 26 13:48:03 UTC 2023 - Peter Simons <psim...@suse.com> + +- Update ghc-lib-parser to version 9.4.7.20230826. + Upstream does not provide a change log file. + +------------------------------------------------------------------- Old: ---- ghc-lib-parser-9.4.6.20230808.tar.gz New: ---- ghc-lib-parser-9.4.7.20230826.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-ghc-lib-parser.spec ++++++ --- /var/tmp/diff_new_pack.3eeexe/_old 2023-09-04 22:54:33.097823527 +0200 +++ /var/tmp/diff_new_pack.3eeexe/_new 2023-09-04 22:54:33.101823669 +0200 @@ -19,7 +19,7 @@ %global pkg_name ghc-lib-parser %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 9.4.6.20230808 +Version: 9.4.7.20230826 Release: 0 Summary: The GHC API, decoupled from GHC versions License: BSD-3-Clause ++++++ ghc-lib-parser-9.4.6.20230808.tar.gz -> ghc-lib-parser-9.4.7.20230826.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ghc-lib-parser-9.4.6.20230808/compiler/GHC/Core/Ppr.hs new/ghc-lib-parser-9.4.7.20230826/compiler/GHC/Core/Ppr.hs --- old/ghc-lib-parser-9.4.6.20230808/compiler/GHC/Core/Ppr.hs 2023-08-08 13:51:09.000000000 +0200 +++ new/ghc-lib-parser-9.4.7.20230826/compiler/GHC/Core/Ppr.hs 2023-08-26 15:38:18.000000000 +0200 @@ -22,7 +22,7 @@ pprCoreExpr, pprParendExpr, pprCoreBinding, pprCoreBindings, pprCoreAlt, pprCoreBindingWithSize, pprCoreBindingsWithSize, - pprCoreBinder, pprCoreBinders, + pprCoreBinder, pprCoreBinders, pprId, pprIds, pprRule, pprRules, pprOptCo, pprOcc, pprOccWithTick ) where @@ -466,6 +466,13 @@ pprKindedTyVarBndr tyvar = text "@" <> pprTyVar tyvar +-- pprId x prints x :: ty +pprId :: Id -> SDoc +pprId x = ppr x <+> dcolon <+> ppr (idType x) + +pprIds :: [Id] -> SDoc +pprIds xs = sep (map pprId xs) + -- pprIdBndr does *not* print the type -- When printing any Id binder in debug mode, we print its inline pragma and one-shot-ness pprIdBndr :: Id -> SDoc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ghc-lib-parser-9.4.6.20230808/compiler/GHC/Core/Rules.hs new/ghc-lib-parser-9.4.7.20230826/compiler/GHC/Core/Rules.hs --- old/ghc-lib-parser-9.4.6.20230808/compiler/GHC/Core/Rules.hs 2023-08-08 13:51:09.000000000 +0200 +++ new/ghc-lib-parser-9.4.7.20230826/compiler/GHC/Core/Rules.hs 2023-08-26 15:38:18.000000000 +0200 @@ -405,7 +405,7 @@ -- See Note [Extra args in the target] -- See comments on matchRule lookupRule opts rule_env@(in_scope,_) is_active fn args rules - = -- pprTrace "matchRules" (ppr fn <+> ppr args $$ ppr rules ) $ + = -- pprTrace "lookupRule" (ppr fn <+> ppr args $$ ppr rules $$ ppr in_scope) $ case go [] rules of [] -> Nothing (m:ms) -> Just (findBest in_scope (fn,args') m ms) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ghc-lib-parser-9.4.6.20230808/compiler/GHC/Core/Subst.hs new/ghc-lib-parser-9.4.7.20230826/compiler/GHC/Core/Subst.hs --- old/ghc-lib-parser-9.4.6.20230808/compiler/GHC/Core/Subst.hs 2023-08-08 13:51:09.000000000 +0200 +++ new/ghc-lib-parser-9.4.7.20230826/compiler/GHC/Core/Subst.hs 2023-08-26 15:38:18.000000000 +0200 @@ -24,7 +24,7 @@ emptySubst, mkEmptySubst, mkSubst, mkOpenSubst, substInScope, isEmptySubst, extendIdSubst, extendIdSubstList, extendTCvSubst, extendTvSubstList, extendSubst, extendSubstList, extendSubstWithVar, zapSubstEnv, - extendInScope, extendInScopeList, extendInScopeIds, + extendSubstInScope, extendSubstInScopeList, extendSubstInScopeSet, isInScope, setInScope, getTCvSubst, extendTvSubst, extendCvSubst, delBndr, delBndrs, @@ -50,7 +50,7 @@ import GHC.Core.Coercion hiding ( substCo, substCoVarBndr ) import GHC.Types.Var.Set -import GHC.Types.Var.Env +import GHC.Types.Var.Env as InScopeSet import GHC.Types.Id import GHC.Types.Name ( Name ) import GHC.Types.Var @@ -284,25 +284,23 @@ isInScope :: Var -> Subst -> Bool isInScope v (Subst in_scope _ _ _) = v `elemInScopeSet` in_scope --- | Add the 'Var' to the in-scope set: as a side effect, --- and remove any existing substitutions for it -extendInScope :: Subst -> Var -> Subst -extendInScope (Subst in_scope ids tvs cvs) v - = Subst (in_scope `extendInScopeSet` v) - (ids `delVarEnv` v) (tvs `delVarEnv` v) (cvs `delVarEnv` v) +-- | Add the 'Var' to the in-scope set +extendSubstInScope :: Subst -> Var -> Subst +extendSubstInScope (Subst in_scope ids tvs cvs) v + = Subst (in_scope `InScopeSet.extendInScopeSet` v) + ids tvs cvs -- | Add the 'Var's to the in-scope set: see also 'extendInScope' -extendInScopeList :: Subst -> [Var] -> Subst -extendInScopeList (Subst in_scope ids tvs cvs) vs +extendSubstInScopeList :: Subst -> [Var] -> Subst +extendSubstInScopeList (Subst in_scope ids tvs cvs) vs = Subst (in_scope `extendInScopeSetList` vs) - (ids `delVarEnvList` vs) (tvs `delVarEnvList` vs) (cvs `delVarEnvList` vs) + ids tvs cvs --- | Optimized version of 'extendInScopeList' that can be used if you are certain --- all the things being added are 'Id's and hence none are 'TyVar's or 'CoVar's -extendInScopeIds :: Subst -> [Id] -> Subst -extendInScopeIds (Subst in_scope ids tvs cvs) vs - = Subst (in_scope `extendInScopeSetList` vs) - (ids `delVarEnvList` vs) tvs cvs +-- | Add the 'Var's to the in-scope set: see also 'extendInScope' +extendSubstInScopeSet :: Subst -> VarSet -> Subst +extendSubstInScopeSet (Subst in_scope ids tvs cvs) vs + = Subst (in_scope `extendInScopeSetSet` vs) + ids tvs cvs setInScope :: Subst -> InScopeSet -> Subst setInScope (Subst _ ids tvs cvs) in_scope = Subst in_scope ids tvs cvs @@ -462,7 +460,7 @@ substIdBndr _doc rec_subst subst@(Subst in_scope env tvs cvs) old_id = -- pprTrace "substIdBndr" (doc $$ ppr old_id $$ ppr in_scope) $ - (Subst (in_scope `extendInScopeSet` new_id) new_env tvs cvs, new_id) + (Subst (in_scope `InScopeSet.extendInScopeSet` new_id) new_env tvs cvs, new_id) where id1 = uniqAway in_scope old_id -- id1 is cloned if necessary id2 | no_type_change = id1 @@ -532,7 +530,7 @@ -> (Subst, Id) -- Transformed pair clone_id rec_subst subst@(Subst in_scope idvs tvs cvs) (old_id, uniq) - = (Subst (in_scope `extendInScopeSet` new_id) new_idvs tvs new_cvs, new_id) + = (Subst (in_scope `InScopeSet.extendInScopeSet` new_id) new_idvs tvs new_cvs, new_id) where id1 = setVarUnique old_id uniq id2 = substIdType subst id1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ghc-lib-parser-9.4.6.20230808/ghc-lib/stage0/compiler/build/GHC/Settings/Config.hs new/ghc-lib-parser-9.4.7.20230826/ghc-lib/stage0/compiler/build/GHC/Settings/Config.hs --- old/ghc-lib-parser-9.4.6.20230808/ghc-lib/stage0/compiler/build/GHC/Settings/Config.hs 2023-08-08 13:51:10.000000000 +0200 +++ new/ghc-lib-parser-9.4.7.20230826/ghc-lib/stage0/compiler/build/GHC/Settings/Config.hs 2023-08-26 15:38:19.000000000 +0200 @@ -21,7 +21,7 @@ cProjectName = "The Glorious Glasgow Haskell Compilation System" cBooterVersion :: String -cBooterVersion = "9.2.7" +cBooterVersion = "9.2.8" cStage :: String cStage = show (1 :: Int) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ghc-lib-parser-9.4.6.20230808/ghc-lib/stage0/libraries/ghc-boot/build/GHC/Version.hs new/ghc-lib-parser-9.4.7.20230826/ghc-lib/stage0/libraries/ghc-boot/build/GHC/Version.hs --- old/ghc-lib-parser-9.4.6.20230808/ghc-lib/stage0/libraries/ghc-boot/build/GHC/Version.hs 2023-08-08 13:50:54.000000000 +0200 +++ new/ghc-lib-parser-9.4.7.20230826/ghc-lib/stage0/libraries/ghc-boot/build/GHC/Version.hs 2023-08-26 15:38:03.000000000 +0200 @@ -3,19 +3,19 @@ import Prelude -- See Note [Why do we import Prelude here?] cProjectGitCommitId :: String -cProjectGitCommitId = "5f9929478e304868cbb6e1ea04da3f27ea4a1e8e" +cProjectGitCommitId = "00920f176b0235d5bb52a8e054d89a664f8938fe" cProjectVersion :: String -cProjectVersion = "9.4.6" +cProjectVersion = "9.4.7" cProjectVersionInt :: String cProjectVersionInt = "904" cProjectPatchLevel :: String -cProjectPatchLevel = "6" +cProjectPatchLevel = "7" cProjectPatchLevel1 :: String -cProjectPatchLevel1 = "6" +cProjectPatchLevel1 = "7" cProjectPatchLevel2 :: String cProjectPatchLevel2 = "0" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ghc-lib-parser-9.4.6.20230808/ghc-lib-parser.cabal new/ghc-lib-parser-9.4.7.20230826/ghc-lib-parser.cabal --- old/ghc-lib-parser-9.4.6.20230808/ghc-lib-parser.cabal 2023-08-08 13:51:21.000000000 +0200 +++ new/ghc-lib-parser-9.4.7.20230826/ghc-lib-parser.cabal 2023-08-26 15:38:31.000000000 +0200 @@ -1,7 +1,7 @@ cabal-version: 2.0 build-type: Simple name: ghc-lib-parser -version: 9.4.6.20230808 +version: 9.4.7.20230826 license: BSD3 license-file: LICENSE category: Development @@ -81,16 +81,16 @@ build-depends: base >= 4.15 && < 4.18, ghc-prim > 0.2 && < 0.10, + containers >= 0.5 && < 0.7, bytestring >= 0.10 && < 0.12, time >= 1.4 && < 1.13, exceptions == 0.10.*, parsec, - containers >= 0.5 && < 0.7, binary == 0.8.*, filepath >= 1 && < 1.5, directory >= 1 && < 1.4, array >= 0.1 && < 0.6, - deepseq >= 1.4 && < 1.5, + deepseq >= 1.4 && < 1.6, pretty == 1.1.*, transformers >= 0.5 && < 0.7, process >= 1 && < 1.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ghc-lib-parser-9.4.6.20230808/libraries/ghci/GHCi/Message.hs new/ghc-lib-parser-9.4.7.20230826/libraries/ghci/GHCi/Message.hs --- old/ghc-lib-parser-9.4.6.20230808/libraries/ghci/GHCi/Message.hs 2023-08-08 13:51:10.000000000 +0200 +++ new/ghc-lib-parser-9.4.7.20230826/libraries/ghci/GHCi/Message.hs 2023-08-26 15:38:19.000000000 +0200 @@ -465,7 +465,7 @@ #define MIN_VERSION_ghc_heap(major1,major2,minor) (\ (major1) < 9 || \ (major1) == 9 && (major2) < 4 || \ - (major1) == 9 && (major2) == 4 && (minor) <= 6) + (major1) == 9 && (major2) == 4 && (minor) <= 7) #endif /* MIN_VERSION_ghc_heap */ #if MIN_VERSION_ghc_heap(8,11,0) instance Binary Heap.StgTSOProfInfo