1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 14:54:16 +03:00

Fix some missed language extensions.

This commit is contained in:
Rob Rix 2019-10-30 13:16:17 -04:00
parent 7262484a57
commit a8a3bca972
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7
21 changed files with 21 additions and 14 deletions

View File

@ -1,4 +1,5 @@
-- Code generated by protoc-gen-jsonpb_haskell 0.1.0, DO NOT EDIT.
{-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -Wno-orphans -Wno-unused-imports -Wno-missing-export-lists #-}
module Proto.Semantic_JSON where

View File

@ -1,4 +1,4 @@
{-# LANGUAGE ImplicitParams #-}
{-# LANGUAGE DataKinds, ImplicitParams, OverloadedStrings, TypeApplications #-}
{-# OPTIONS_GHC -O0 #-}
module Analysis.Go.Spec (spec) where

View File

@ -1,4 +1,4 @@
{-# LANGUAGE ImplicitParams #-}
{-# LANGUAGE DataKinds, ImplicitParams, OverloadedStrings, TypeApplications #-}
{-# OPTIONS_GHC -O0 #-}
module Analysis.PHP.Spec (spec) where

View File

@ -1,4 +1,4 @@
{-# LANGUAGE ImplicitParams #-}
{-# LANGUAGE DataKinds, ImplicitParams, OverloadedStrings, TypeApplications #-}
{-# OPTIONS_GHC -O0 #-}
module Analysis.Python.Spec (spec) where

View File

@ -1,5 +1,5 @@
{-# LANGUAGE DataKinds, ImplicitParams, OverloadedStrings, TypeApplications #-}
{-# OPTIONS_GHC -O0 #-}
{-# LANGUAGE ImplicitParams #-}
module Analysis.Ruby.Spec (spec) where
import Control.Abstract (Declaration (..), ScopeError (..))

View File

@ -1,4 +1,4 @@
{-# LANGUAGE ImplicitParams #-}
{-# LANGUAGE DataKinds, ImplicitParams, OverloadedStrings, TypeApplications #-}
{-# OPTIONS_GHC -O0 #-}
module Analysis.TypeScript.Spec (spec) where

View File

@ -1,4 +1,4 @@
{-# LANGUAGE DataKinds, OverloadedLists #-}
{-# LANGUAGE OverloadedLists, OverloadedStrings #-}
module Assigning.Assignment.Spec (spec) where
import Assigning.Assignment

View File

@ -1,4 +1,4 @@
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE DataKinds, OverloadedStrings, TypeApplications, TypeOperators #-}
{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
module Control.Abstract.Evaluator.Spec
( spec

View File

@ -1,3 +1,4 @@
{-# LANGUAGE DeriveGeneric #-}
module Data.Functor.Classes.Generic.Spec (spec) where
import Data.Functor.Classes.Generic

View File

@ -1,4 +1,4 @@
{-# LANGUAGE DefaultSignatures, TypeOperators, UndecidableInstances #-}
{-# LANGUAGE DefaultSignatures, FlexibleContexts, TypeApplications, TypeOperators, UndecidableInstances #-}
module Data.Mergeable ( Mergeable (..) ) where
import Control.Applicative

View File

@ -1,3 +1,4 @@
{-# LANGUAGE OverloadedStrings #-}
module Data.Scientific.Spec (testTree) where
import Data.Either

View File

@ -1,4 +1,4 @@
{-# LANGUAGE DataKinds, TypeOperators #-}
{-# LANGUAGE DataKinds, OverloadedStrings, TypeOperators #-}
module Diffing.Algorithm.RWS.Spec (spec) where
import Data.Bifunctor

View File

@ -1,4 +1,4 @@
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DataKinds, OverloadedStrings, TypeApplications #-}
module Diffing.Interpreter.Spec (spec, afterTerm, beforeTerm) where
import Control.Applicative ((<|>))

View File

@ -1,4 +1,4 @@
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE FlexibleContexts, RecordWildCards, TypeApplications #-}
{-# OPTIONS_GHC -O1 #-}
module Main (main) where

View File

@ -1,3 +1,4 @@
{-# LANGUAGE OverloadedStrings #-}
module Generators
( source
, integerScientific

View File

@ -1,4 +1,4 @@
{-# LANGUAGE GADTs, PackageImports, TypeApplications #-}
{-# LANGUAGE DataKinds, GADTs, OverloadedStrings, PackageImports, TypeApplications #-}
module Graphing.Calls.Spec ( spec ) where

View File

@ -1,4 +1,4 @@
{-# LANGUAGE DataKinds, MonoLocalBinds, TupleSections, TypeOperators #-}
{-# LANGUAGE DataKinds, FlexibleContexts, MonoLocalBinds, OverloadedStrings, TupleSections, TypeOperators #-}
module Rendering.TOC.Spec (spec) where
import Analysis.TOCSummary

View File

@ -1,3 +1,4 @@
{-# LANGUAGE OverloadedStrings #-}
module Semantic.Spec (spec) where
import Control.Effect.Reader

View File

@ -1,4 +1,4 @@
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE OverloadedStrings, RecordWildCards #-}
module Semantic.Stat.Spec (testTree) where

View File

@ -1,3 +1,4 @@
{-# LANGUAGE DataKinds, FlexibleContexts #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module SpecHelpers

View File

@ -1,3 +1,4 @@
{-# LANGUAGE OverloadedStrings #-}
module Tags.Spec (spec) where
import Control.Effect.Reader