mirror of
https://github.com/google/ghc-source-gen.git
synced 2024-09-11 22:07:09 +03:00
Repair unintentionally broken GHC 8.10.7 support (#111)
This commit is contained in:
parent
a758f8fe50
commit
d920e8bd86
@ -1,5 +1,9 @@
|
||||
# Changelog for haskell-syntax
|
||||
|
||||
|
||||
# 0.4.4.1
|
||||
- Repair unintentionally broken GHC 8.10.7 support.
|
||||
|
||||
# 0.4.4.0
|
||||
- Support GHC 9.6.
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
cabal-version: 1.12
|
||||
|
||||
-- This file has been generated from package.yaml by hpack version 0.34.6.
|
||||
-- This file has been generated from package.yaml by hpack version 0.36.0.
|
||||
--
|
||||
-- see: https://github.com/sol/hpack
|
||||
|
||||
name: ghc-source-gen
|
||||
version: 0.4.4.0
|
||||
version: 0.4.4.1
|
||||
synopsis: Constructs Haskell syntax trees for the GHC API.
|
||||
description: @ghc-source-gen@ is a library for generating Haskell source code.
|
||||
It uses the <https://hackage.haskell.org/package/ghc ghc> library
|
||||
@ -62,6 +62,7 @@ library
|
||||
build-depends:
|
||||
base >=4.7 && <5
|
||||
, ghc >=8.4 && <9.7
|
||||
default-language: Haskell2010
|
||||
if impl(ghc<8.10)
|
||||
other-modules:
|
||||
GHC.Hs
|
||||
@ -75,7 +76,6 @@ library
|
||||
GHC.Hs.Utils
|
||||
hs-source-dirs:
|
||||
compat
|
||||
default-language: Haskell2010
|
||||
if impl(ghc<9.0)
|
||||
other-modules:
|
||||
GHC.Hs.Type
|
||||
@ -130,12 +130,12 @@ test-suite pprint_examples
|
||||
, ghc-source-gen
|
||||
, tasty >=1.0 && <1.5
|
||||
, tasty-hunit ==0.10.*
|
||||
default-language: Haskell2010
|
||||
if impl(ghc<9.0)
|
||||
other-modules:
|
||||
GHC.Utils.Outputable
|
||||
hs-source-dirs:
|
||||
compat
|
||||
default-language: Haskell2010
|
||||
|
||||
test-suite pprint_test
|
||||
type: exitcode-stdio-1.0
|
||||
@ -156,6 +156,7 @@ test-suite pprint_test
|
||||
, ghc-source-gen
|
||||
, tasty >=1.0 && <1.5
|
||||
, tasty-hunit ==0.10.*
|
||||
default-language: Haskell2010
|
||||
if impl(ghc<9.0)
|
||||
other-modules:
|
||||
GHC.Driver.Monad
|
||||
@ -163,4 +164,3 @@ test-suite pprint_test
|
||||
GHC.Utils.Outputable
|
||||
hs-source-dirs:
|
||||
compat
|
||||
default-language: Haskell2010
|
||||
|
@ -5,7 +5,7 @@
|
||||
# https://developers.google.com/open-source/licenses/bsd
|
||||
|
||||
name: ghc-source-gen
|
||||
version: 0.4.4.0
|
||||
version: 0.4.4.1
|
||||
github: "google/ghc-source-gen"
|
||||
license: BSD3
|
||||
author: "Judah Jacobson"
|
||||
|
@ -63,9 +63,7 @@ import GHC.Types.PkgQual (RawPkgQual(..))
|
||||
import GHC.SourceGen.Syntax.Internal
|
||||
import GHC.SourceGen.Name.Internal
|
||||
import GHC.SourceGen.Lit.Internal (noSourceText)
|
||||
#if MIN_VERSION_ghc(9,0,0)
|
||||
import GHC.SourceGen.Name (unqual)
|
||||
#endif
|
||||
#if MIN_VERSION_ghc(9,4,0)
|
||||
import GHC.SourceGen.Name (RdrNameStr, ModuleNameStr(unModuleNameStr), OccNameStr)
|
||||
import GHC.Types.SourceText (SourceText(NoSourceText))
|
||||
|
Loading…
Reference in New Issue
Block a user