1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

Merge branch 'master' into linguistic-drift

This commit is contained in:
Rob Rix 2020-01-27 15:07:24 -05:00 committed by GitHub
commit 774c71f1e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ jobs:
name: Cache ~/.cabal/store
with:
path: ~/.cabal/store
key: ${{ runner.os }}-${{ matrix.ghc }}-v3-cabal-store
key: ${{ runner.os }}-${{ matrix.ghc }}-v4-cabal-store
- uses: actions/cache@v1
name: Cache dist-newstyle

View File

@ -7,13 +7,13 @@ module Source.Loc
) where
import Control.DeepSeq (NFData)
import Data.Aeson (ToJSON(..), object, (.=))
import Data.Hashable (Hashable)
import Data.Monoid.Generic
import GHC.Generics (Generic)
import Prelude hiding (span)
import Source.Range
import Source.Span
import Data.Aeson (ToJSON(..), object, (.=))
data Loc = Loc
{ byteRange :: {-# UNPACK #-} !Range

View File

@ -1,4 +1,4 @@
{-# LANGUAGE DeriveAnyClass, DeriveGeneric, RankNTypes, NamedFieldPuns, OverloadedStrings #-}
{-# LANGUAGE DeriveAnyClass, DeriveGeneric, RankNTypes, NamedFieldPuns #-}
module Source.Range
( Range(..)
, point