{-# LANGUAGE OverloadedStrings #-} is now on by default (#2270)
commit26986fed0e40c6745735dfa398cf85ecbb6e224a
authornickchapman-da <49153372+nickchapman-da@users.noreply.github.com>
dateWed 24 Jul 2019, 08:09 (7 years ago)
parent904ab6d
src/Development/IDE/Core/Compile.hs−1
@@ -1,7 +1,6 @@
11-- Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
22-- SPDX-License-Identifier: Apache-2.0
33
4−{-# LANGUAGE OverloadedStrings #-}
54{-# LANGUAGE RankNTypes #-}
65{-# LANGUAGE CPP #-}
76
src/Development/IDE/Core/OfInterest.hs−1
@@ -3,7 +3,6 @@
33
44
55{-# LANGUAGE TypeFamilies #-}
6−{-# LANGUAGE OverloadedStrings #-}
76{-# LANGUAGE FlexibleInstances #-}
87
98-- | A Shake implementation of the compiler service, built
src/Development/IDE/Core/PositionMapping.hs−1
@@ -1,6 +1,5 @@
11-- Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
22-- SPDX-License-Identifier: Apache-2.0
3−{-# LANGUAGE OverloadedStrings #-}
43module Development.IDE.Core.PositionMapping
54 ( PositionMapping(..)
65 , toCurrentRange
src/Development/IDE/Core/Rules.hs−1
@@ -2,7 +2,6 @@
22-- SPDX-License-Identifier: Apache-2.0
33
44{-# LANGUAGE TypeFamilies #-}
5−{-# LANGUAGE OverloadedStrings #-}
65{-# LANGUAGE FlexibleInstances #-}
76{-# LANGUAGE DuplicateRecordFields #-}
87
src/Development/IDE/Core/Service.hs−1
@@ -2,7 +2,6 @@
22-- SPDX-License-Identifier: Apache-2.0
33
44{-# LANGUAGE TypeFamilies #-}
5−{-# LANGUAGE OverloadedStrings #-}
65{-# LANGUAGE FlexibleInstances #-}
76
87-- | A Shake implementation of the compiler service, built
src/Development/IDE/Core/Shake.hs−1
@@ -4,7 +4,6 @@
44{-# LANGUAGE ExistentialQuantification #-}
55{-# LANGUAGE TypeFamilies #-}
66{-# LANGUAGE ConstraintKinds #-}
7−{-# LANGUAGE OverloadedStrings #-}
87
98-- | A Shake implementation of the compiler service.
109--
src/Development/IDE/GHC/Error.hs−1
@@ -1,6 +1,5 @@
11-- Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
22-- SPDX-License-Identifier: Apache-2.0
3−{-# LANGUAGE OverloadedStrings #-}
43module Development.IDE.GHC.Error
54 (
65 -- * Producing Diagnostic values
src/Development/IDE/Import/FindImports.hs−1
@@ -1,7 +1,6 @@
11-- Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
22-- SPDX-License-Identifier: Apache-2.0
33
4−{-# LANGUAGE OverloadedStrings #-}
54
65module Development.IDE.Import.FindImports
76 ( locateModule
src/Development/IDE/LSP/CodeAction.hs−1
@@ -1,7 +1,6 @@
11-- Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
22-- SPDX-License-Identifier: Apache-2.0
33
4−{-# LANGUAGE OverloadedStrings #-}
54{-# LANGUAGE DuplicateRecordFields #-}
65
76-- | Go to the definition of a variable.
src/Development/IDE/LSP/Definition.hs−1
@@ -1,7 +1,6 @@
11-- Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
22-- SPDX-License-Identifier: Apache-2.0
33
4−{-# LANGUAGE OverloadedStrings #-}
54
65-- | Go to the definition of a variable.
76module Development.IDE.LSP.Definition
src/Development/IDE/LSP/Hover.hs−1
@@ -1,7 +1,6 @@
11-- Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
22-- SPDX-License-Identifier: Apache-2.0
33
4−{-# LANGUAGE OverloadedStrings #-}
54
65-- | Display information on hover.
76module Development.IDE.LSP.Hover
src/Development/IDE/LSP/LanguageServer.hs−1
@@ -1,7 +1,6 @@
11-- Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
22-- SPDX-License-Identifier: Apache-2.0
33
4−{-# LANGUAGE OverloadedStrings #-}
54{-# LANGUAGE ExistentialQuantification #-}
65
76-- WARNING: A copy of DA.Daml.LanguageServer, try to keep them in sync
src/Development/IDE/LSP/Notifications.hs−1
@@ -2,7 +2,6 @@
22-- SPDX-License-Identifier: Apache-2.0
33
44{-# LANGUAGE DuplicateRecordFields #-}
5−{-# LANGUAGE OverloadedStrings #-}
65{-# LANGUAGE RankNTypes #-}
76
87module Development.IDE.LSP.Notifications
src/Development/IDE/Spans/AtPoint.hs−1
@@ -1,7 +1,6 @@
11-- Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
22-- SPDX-License-Identifier: Apache-2.0
33
4−{-# LANGUAGE OverloadedStrings #-}
54-- | Gives information about symbols at a given point in DAML files.
65-- These are all pure functions that should execute quickly.
76module Development.IDE.Spans.AtPoint (
src/Development/IDE/Types/Diagnostics.hs−1
@@ -1,7 +1,6 @@
11-- Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
22-- SPDX-License-Identifier: Apache-2.0
33
4−{-# LANGUAGE OverloadedStrings #-}
54
65module Development.IDE.Types.Diagnostics (
76 LSP.Diagnostic(..),
src/Development/IDE/Types/Location.hs−1
@@ -1,7 +1,6 @@
11-- Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
22-- SPDX-License-Identifier: Apache-2.0
33
4−{-# LANGUAGE OverloadedStrings #-}
54
65-- | Types and functions for working with source code locations.
76module Development.IDE.Types.Location
test/exe/Main.hs−1
@@ -1,7 +1,6 @@
11-- Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
22-- SPDX-License-Identifier: Apache-2.0
33
4−{-# LANGUAGE OverloadedStrings #-}
54
65module Main (main) where
76