mirror of
https://github.com/github/semantic.git
synced 2024-12-19 12:51:52 +03:00
Merge pull request #1678 from github/default-typeapplications
Make TypeApplications a default extension
This commit is contained in:
commit
fe1a6fce44
@ -218,16 +218,17 @@ newline: native
|
|||||||
# command line instead of using language pragmas in the file. stylish-haskell
|
# command line instead of using language pragmas in the file. stylish-haskell
|
||||||
# needs to be aware of these, so it can parse the file correctly.
|
# needs to be aware of these, so it can parse the file correctly.
|
||||||
language_extensions:
|
language_extensions:
|
||||||
- ExplicitNamespaces
|
- DataKinds
|
||||||
- DeriveFoldable
|
- DeriveFoldable
|
||||||
- DeriveFunctor
|
- DeriveFunctor
|
||||||
- DeriveGeneric
|
- DeriveGeneric
|
||||||
- DeriveTraversable
|
- DeriveTraversable
|
||||||
|
- ExplicitNamespaces
|
||||||
- FlexibleContexts
|
- FlexibleContexts
|
||||||
- FlexibleInstances
|
- FlexibleInstances
|
||||||
- MultiParamTypeClasses
|
- MultiParamTypeClasses
|
||||||
- StandaloneDeriving
|
|
||||||
- DataKinds
|
|
||||||
- OverloadedStrings
|
- OverloadedStrings
|
||||||
- RecordWildCards
|
- RecordWildCards
|
||||||
|
- StandaloneDeriving
|
||||||
- StrictData
|
- StrictData
|
||||||
|
- TypeApplications
|
||||||
|
@ -198,6 +198,7 @@ library
|
|||||||
, RecordWildCards
|
, RecordWildCards
|
||||||
, StandaloneDeriving
|
, StandaloneDeriving
|
||||||
, StrictData
|
, StrictData
|
||||||
|
, TypeApplications
|
||||||
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -fno-warn-name-shadowing -O -j
|
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -fno-warn-name-shadowing -O -j
|
||||||
ghc-prof-options: -fprof-auto
|
ghc-prof-options: -fprof-auto
|
||||||
|
|
||||||
@ -274,6 +275,7 @@ test-suite test
|
|||||||
, OverloadedStrings
|
, OverloadedStrings
|
||||||
, RecordWildCards
|
, RecordWildCards
|
||||||
, StandaloneDeriving
|
, StandaloneDeriving
|
||||||
|
, TypeApplications
|
||||||
|
|
||||||
test-suite doctests
|
test-suite doctests
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{-# LANGUAGE DataKinds, GeneralizedNewtypeDeriving, StandaloneDeriving, TypeFamilies, UndecidableInstances #-}
|
{-# LANGUAGE GeneralizedNewtypeDeriving, TypeFamilies, UndecidableInstances #-}
|
||||||
module Analysis.Abstract.Evaluating
|
module Analysis.Abstract.Evaluating
|
||||||
( Evaluating
|
( Evaluating
|
||||||
, findValue
|
, findValue
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{-# LANGUAGE DataKinds, DeriveAnyClass, DeriveGeneric, MultiParamTypeClasses, TypeApplications, ViewPatterns #-}
|
{-# LANGUAGE DataKinds, DeriveAnyClass, DeriveGeneric, MultiParamTypeClasses, ViewPatterns #-}
|
||||||
module Data.Syntax.Literal where
|
module Data.Syntax.Literal where
|
||||||
|
|
||||||
import Control.Arrow ((>>>))
|
import Control.Arrow ((>>>))
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
-- MonoLocalBinds is to silence a warning about a simplifiable constraint.
|
-- MonoLocalBinds is to silence a warning about a simplifiable constraint.
|
||||||
{-# LANGUAGE DataKinds, MonoLocalBinds, ScopedTypeVariables, TypeFamilies, TypeApplications, TypeOperators #-}
|
{-# LANGUAGE DataKinds, MonoLocalBinds, ScopedTypeVariables, TypeFamilies, TypeOperators #-}
|
||||||
{-# OPTIONS_GHC -Wno-missing-signatures #-}
|
{-# OPTIONS_GHC -Wno-missing-signatures #-}
|
||||||
module Semantic.Util where
|
module Semantic.Util where
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{-# LANGUAGE OverloadedLists, TypeApplications #-}
|
{-# LANGUAGE OverloadedLists #-}
|
||||||
module Analysis.Python.Spec (spec) where
|
module Analysis.Python.Spec (spec) where
|
||||||
|
|
||||||
import Data.Abstract.Value
|
import Data.Abstract.Value
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{-# LANGUAGE OverloadedLists, TypeApplications #-}
|
{-# LANGUAGE OverloadedLists #-}
|
||||||
module Analysis.TypeScript.Spec (spec) where
|
module Analysis.TypeScript.Spec (spec) where
|
||||||
|
|
||||||
import Data.Abstract.Value
|
import Data.Abstract.Value
|
||||||
|
@ -24,4 +24,5 @@ extensions =
|
|||||||
, "RecordWildCards"
|
, "RecordWildCards"
|
||||||
, "StandaloneDeriving"
|
, "StandaloneDeriving"
|
||||||
, "StrictData"
|
, "StrictData"
|
||||||
|
, "TypeApplications"
|
||||||
]
|
]
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{-# LANGUAGE GADTs, ScopedTypeVariables, TypeFamilies, TypeOperators, TypeApplications #-}
|
{-# LANGUAGE GADTs, ScopedTypeVariables, TypeFamilies, TypeOperators #-}
|
||||||
module SpecHelpers (
|
module SpecHelpers (
|
||||||
module X
|
module X
|
||||||
, diffFilePaths
|
, diffFilePaths
|
||||||
|
Loading…
Reference in New Issue
Block a user