8000 semantic-source-0.0.0.1/ghc-8.8.1 by robrix · Pull Request #307 · github/semantic · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

semantic-source-0.0.0.1/ghc-8.8.1 #307

Merged
merged 8 commits into from
Oct 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions semantic-source/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# 0.0.0.1

- Loosens the upper bound on `hashable`.
- Adds support for GHC 8.8.1.


# 0.0.0.0

Initial release
11 changes: 6 additions & 5 deletions semantic-source/semantic-source.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 2.4

name: semantic-source
version: 0.0.0.0
version: 0.0.0.1
synopsis: Types and functionality for working with source code
description: Types and functionality for working with source code (program text).
homepage: https://github.com/github/semantic/tree/master/semantic-source#readme
Expand All @@ -15,11 +15,12 @@ category: Data
build-type: Simple
stability: alpha
extra-source-files:
CHANGELOG.md
README.md


tested-with:
GHC == 8.6.5
GHC == 8.8.1
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m testing this locally until such time as the rest of the project can use 8.8.1.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screen Shot 2019-10-03 at 11 38 14 AM


common common
default-language: Haskell2010
Expand All @@ -35,6 +36,8 @@ common common
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-star-is-type
if (impl(ghc >= 8.8))
ghc-options: -Wno-missing-deriving-strategies

library
import: common
Expand All @@ -43,15 +46,13 @@ library
Source.Range
Source.Source
Source.Span
-- other-modules:
-- other-extensions:
build-depends:
aeson ^>= 1.4.2.0
, base >= 4.12 && < 5
, bytestring ^>= 0.10.8.2
, deepseq ^>= 1.4.4.0
, generic-monoid ^>= 0.1.0.0
, hashable ^>= 1.2.7.0
, hashable >= 1.2.7 && < 1.4
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hashable 1.3 supports ghc 8.8.1, 1.2.x does not. The breaking changes in 1.3 don’t impact us.

, semilattices ^>= 0.0.0.3
, text ^ 42C7 >= 1.2.3.1
hs-source-dirs: src
Expand Down
0