Hello community,
here is the log from the commit of package ghc-ghc-lib-parser-ex for
openSUSE:Factory checked in at 2020-08-18 12:24:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-ghc-lib-parser-ex (Old)
and /work/SRC/openSUSE:Factory/.ghc-ghc-lib-parser-ex.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-ghc-lib-parser-ex"
Tue Aug 18 12:24:43 2020 rev:2 rq:825799 version:8.10.0.16
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-ghc-lib-parser-ex/ghc-ghc-lib-parser-ex.changes
2020-07-09 13:18:04.201023552 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-ghc-lib-parser-ex.new.3399/ghc-ghc-lib-parser-ex.changes
2020-08-18 12:24:45.467815242 +0200
@@ -1,0 +2,15 @@
+Mon Aug 10 08:46:55 UTC 2020 - [email protected]
+
+- Update ghc-lib-parser-ex to version 8.10.0.16.
+ ## 8.10.0.16 released 2020-08-08
+ - Update to ghc-8.10.2.
+
+ ## 0.20200801 released 2020-08-01
+ - Update to `ghc-lib-0.20200801`
+
+ ## 8.8.6.1 released 2020-07-16
+
+ ## 0.20200704 released 2020-07-04
+ - New function `isImportQualifiedPost`
+
+-------------------------------------------------------------------
Old:
----
ghc-lib-parser-ex-8.10.0.15.tar.gz
New:
----
ghc-lib-parser-ex-8.10.0.16.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-ghc-lib-parser-ex.spec ++++++
--- /var/tmp/diff_new_pack.S4s4U9/_old 2020-08-18 12:24:47.663816159 +0200
+++ /var/tmp/diff_new_pack.S4s4U9/_new 2020-08-18 12:24:47.667816160 +0200
@@ -19,7 +19,7 @@
%global pkg_name ghc-lib-parser-ex
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 8.10.0.15
+Version: 8.10.0.16
Release: 0
Summary: Algorithms on GHC parse trees
License: BSD-3-Clause
++++++ ghc-lib-parser-ex-8.10.0.15.tar.gz -> ghc-lib-parser-ex-8.10.0.16.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ghc-lib-parser-ex-8.10.0.15/ChangeLog.md
new/ghc-lib-parser-ex-8.10.0.16/ChangeLog.md
--- old/ghc-lib-parser-ex-8.10.0.15/ChangeLog.md 2020-07-04
17:53:31.000000000 +0200
+++ new/ghc-lib-parser-ex-8.10.0.16/ChangeLog.md 2020-08-09
02:30:02.000000000 +0200
@@ -1,5 +1,16 @@
# Changelog for ghc-lib-parser-ex
+## 8.10.0.16 released 2020-08-08
+- Update to ghc-8.10.2.
+
+## 0.20200801 released 2020-08-01
+- Update to `ghc-lib-0.20200801`
+
+## 8.8.6.1 released 2020-07-16
+
+## 0.20200704 released 2020-07-04
+- New function `isImportQualifiedPost`
+
## 8.10.0.15 released 2020-07-04
- New function `isImportQualifiedPost`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ghc-lib-parser-ex-8.10.0.15/ghc-lib-parser-ex.cabal
new/ghc-lib-parser-ex-8.10.0.16/ghc-lib-parser-ex.cabal
--- old/ghc-lib-parser-ex-8.10.0.15/ghc-lib-parser-ex.cabal 2020-07-04
17:53:31.000000000 +0200
+++ new/ghc-lib-parser-ex-8.10.0.16/ghc-lib-parser-ex.cabal 2020-08-09
02:30:02.000000000 +0200
@@ -1,6 +1,6 @@
cabal-version: >= 1.18
name: ghc-lib-parser-ex
-version: 8.10.0.15
+version: 8.10.0.16
description: Please see the README on GitHub at
<https://github.com/shayne-fletcher/ghc-lib-parser-ex#readme>
homepage: https://github.com/shayne-fletcher/ghc-lib-parser-ex#readme
bug-reports: https://github.com/shayne-fletcher/ghc-lib-parser-ex/issues
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/ghc-lib-parser-ex-8.10.0.15/src/Language/Haskell/GhclibParserEx/Fixity.hs
new/ghc-lib-parser-ex-8.10.0.16/src/Language/Haskell/GhclibParserEx/Fixity.hs
---
old/ghc-lib-parser-ex-8.10.0.15/src/Language/Haskell/GhclibParserEx/Fixity.hs
2020-07-04 17:53:31.000000000 +0200
+++
new/ghc-lib-parser-ex-8.10.0.16/src/Language/Haskell/GhclibParserEx/Fixity.hs
2020-08-09 02:30:02.000000000 +0200
@@ -213,7 +213,11 @@
#else
fixitiesFromModule :: Located (HsModule GhcPs) -> [(String, Fixity)]
#endif
+#if defined(GHCLIB_API_811)
+fixitiesFromModule (L _ (HsModule _ _ _ _ decls _ _)) = concatMap f decls
+#else
fixitiesFromModule (L _ (HsModule _ _ _ decls _ _)) = concatMap f decls
+#endif
where
f :: LHsDecl GhcPs -> [(String, Fixity)]
f (L _ (SigD _ (FixSig _ (FixitySig _ ops (Fixity _ p dir))))) =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/ghc-lib-parser-ex-8.10.0.15/src/Language/Haskell/GhclibParserEx/GHC/Driver/Flags.hs
new/ghc-lib-parser-ex-8.10.0.16/src/Language/Haskell/GhclibParserEx/GHC/Driver/Flags.hs
---
old/ghc-lib-parser-ex-8.10.0.15/src/Language/Haskell/GhclibParserEx/GHC/Driver/Flags.hs
2020-07-04 17:53:31.000000000 +0200
+++
new/ghc-lib-parser-ex-8.10.0.16/src/Language/Haskell/GhclibParserEx/GHC/Driver/Flags.hs
2020-08-09 02:30:02.000000000 +0200
@@ -3,14 +3,14 @@
#include "ghclib_api.h"
module Language.Haskell.GhclibParserEx.GHC.Driver.Flags () where
-#if defined(GHCLIB_API_811)
-import GHC.Driver.Session
-#else
+#if !defined(GHCLIB_API_811)
import DynFlags
#endif
--- Oprhan instance until
--- https://gitlab.haskell.org/ghc/ghc/merge_requests/2905 lands.
+-- This instance landed in
+-- https://gitlab.haskell.org/ghc/ghc/merge_requests/2905.
+#if defined(GHCLIB_API_808) || defined(GHCLIB_API_810)
instance Bounded Language where
minBound = Haskell98
maxBound = Haskell2010
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/ghc-lib-parser-ex-8.10.0.15/src/Language/Haskell/GhclibParserEx/GHC/Driver/Session.hs
new/ghc-lib-parser-ex-8.10.0.16/src/Language/Haskell/GhclibParserEx/GHC/Driver/Session.hs
---
old/ghc-lib-parser-ex-8.10.0.15/src/Language/Haskell/GhclibParserEx/GHC/Driver/Session.hs
2020-07-04 17:53:31.000000000 +0200
+++
new/ghc-lib-parser-ex-8.10.0.16/src/Language/Haskell/GhclibParserEx/GHC/Driver/Session.hs
2020-08-09 02:30:02.000000000 +0200
@@ -7,14 +7,16 @@
module Language.Haskell.GhclibParserEx.GHC.Driver.Session(
readExtension
, extensionImplications
- -- Copied from DynFlags (see
- -- https://gitlab.haskell.org/ghc/ghc/merge_requests/2654).
+-- Landed in https://gitlab.haskell.org/ghc/ghc/merge_requests/2654.
+#if defined (GHCLIB_API_808) || defined (GHCLIB_API_810)
, TurnOnFlag, turnOn, turnOff, impliedGFlags, impliedOffGFlags,
impliedXFlags
- --
+#endif
, parsePragmasIntoDynFlags
) where
+#if defined(GHCLIB_API_808) || defined(GHCLIB_API_810)
import qualified GHC.LanguageExtensions as LangExt
+#endif
#if defined (GHCLIB_API_811)
import GHC.Utils.Panic
import GHC.Parser.Header
@@ -32,14 +34,11 @@
import Data.List
import Data.Maybe
import qualified Data.Map as Map
-#if !defined(GHCLIB_API_811)
+-- Landed in https://gitlab.haskell.org/ghc/ghc/merge_requests/2707.
+#if defined (GHCLIB_API_808) || defined (GHCLIB_API_810)
import Data.Function -- For `compareOn`.
--- Oprhan instance until
--- https://gitlab.haskell.org/ghc/ghc/merge_requests/2707 lands.
instance Ord Extension where
compare = compare `on` fromEnum
-#else
--- Update : It's landed.
#endif
-- | Parse a GHC extension.
@@ -56,7 +55,10 @@
[(show a, ([c | b], [c | not b]))
| (a, flag, c) <- impliedXFlags, let b = flag == turnOn]
--- Copied from 'ghc/compiler/main/DynFlags.hs'.
+-- Landed in
+-- https://gitlab.haskell.org/ghc/ghc/merge_requests/2654. Copied from
+-- 'ghc/compiler/main/DynFlags.hs'.
+#if defined(GHCLIB_API_808) || defined(GHCLIB_API_810)
type TurnOnFlag = Bool -- True <=> we are turning the flag on
-- False <=> we are turning the flag off
@@ -109,7 +111,7 @@
, (LangExt.TypeInType, turnOn, LangExt.PolyKinds)
, (LangExt.TypeInType, turnOn, LangExt.KindSignatures)
-#if defined(GHCLIB_API_811) || defined(GHCLIB_API_810)
+#if defined(GHCLIB_API_810)
-- Standalone kind signatures are a replacement for CUSKs.
, (LangExt.StandaloneKindSignatures, turnOff, LangExt.CUSKs)
#endif
@@ -143,8 +145,7 @@
, (LangExt.TemplateHaskell, turnOn, LangExt.TemplateHaskellQuotes)
, (LangExt.Strict, turnOn, LangExt.StrictData)
]
-
---
+#endif
parsePragmasIntoDynFlags :: DynFlags
-> ([Extension], [Extension])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/ghc-lib-parser-ex-8.10.0.15/src/Language/Haskell/GhclibParserEx/GHC/Hs/Expr.hs
new/ghc-lib-parser-ex-8.10.0.16/src/Language/Haskell/GhclibParserEx/GHC/Hs/Expr.hs
---
old/ghc-lib-parser-ex-8.10.0.15/src/Language/Haskell/GhclibParserEx/GHC/Hs/Expr.hs
2020-07-04 17:53:31.000000000 +0200
+++
new/ghc-lib-parser-ex-8.10.0.16/src/Language/Haskell/GhclibParserEx/GHC/Hs/Expr.hs
2020-08-09 02:30:02.000000000 +0200
@@ -99,7 +99,11 @@
isParComp = \case ParStmt{} -> True; _ -> False
isMDo :: HsStmtContext Name -> Bool
+#if defined(GHCLIB_API_811)
+isMDo = \case MDoExpr _ -> True; _ -> False
+#else
isMDo = \case MDoExpr -> True; _ -> False
+#endif
isTupleSection :: HsTupArg GhcPs -> Bool
isTupleSection = \case Missing{} -> True; _ -> False
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/ghc-lib-parser-ex-8.10.0.15/src/Language/Haskell/GhclibParserEx/GHC/Settings/Config.hs
new/ghc-lib-parser-ex-8.10.0.16/src/Language/Haskell/GhclibParserEx/GHC/Settings/Config.hs
---
old/ghc-lib-parser-ex-8.10.0.15/src/Language/Haskell/GhclibParserEx/GHC/Settings/Config.hs
2020-07-04 17:53:31.000000000 +0200
+++
new/ghc-lib-parser-ex-8.10.0.16/src/Language/Haskell/GhclibParserEx/GHC/Settings/Config.hs
2020-08-09 02:30:02.000000000 +0200
@@ -72,11 +72,16 @@
, platformHasSubsectionsViaSymbols=False
, platformIsCrossCompiling=False
, platformLeadingUnderscore=False
+ , platformTablesNextToCode=False
+ , platformConstants=platformConstants
,
#endif
-#if defined (GHCLIB_API_811) || defined (GHCLIB_API_810)
- platformWordSize = PW8
- , platformMini = PlatformMini {platformMini_arch=ArchUnknown,
platformMini_os=OSUnknown}
+#if defined (GHCLIB_API_811)
+ platformWordSize=PW8
+ , platformArchOS=ArchOS {archOS_arch=ArchUnknown, archOS_OS=OSUnknown}
+#elif defined (GHCLIB_API_810)
+ platformWordSize=PW8
+ , platformMini=PlatformMini {platformMini_arch=ArchUnknown,
platformMini_os=OSUnknown}
#else
platformWordSize=8
, platformOS=OSUnknown