Skip to content

Commit

Permalink
Compatibility with older aeson releases (#2868)
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeiborra authored Apr 30, 2022
1 parent 306aaa0 commit 0913ce7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ library

hs-source-dirs: src
build-depends:
, aeson >=1.5.2.0
, aeson
, base >=4.12 && <5
, bytestring
, containers
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE NamedFieldPuns #-}
Expand Down Expand Up @@ -189,6 +190,9 @@ mkSymbol = \case
deriving instance Ord SymbolKind
deriving instance Ord SymbolTag
deriving instance Ord CallHierarchyItem
#if !MIN_VERSION_aeson(1,5,2)
deriving instance Ord Value
#endif

-- | Render incoming calls request.
incomingCalls :: PluginMethodHandler IdeState CallHierarchyIncomingCalls
Expand Down

0 comments on commit 0913ce7

Please sign in to comment.