Skip to content

Commit

Permalink
Fix method type in Unregistration
Browse files Browse the repository at this point in the history
This could probably be backported
  • Loading branch information
lukel97 committed May 14, 2020
1 parent 3f35d04 commit 58609e1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1054,16 +1054,16 @@ data Unregistration =
-- provided during the register request.
_id :: Text

-- |The method / capability to unregister for.
, _method :: Text
} deriving (Show, Read, Eq)
-- | The method / capability to unregister for.
, _method :: SomeClientMethod
} deriving (Show, Eq)

deriveJSON lspOptions ''Unregistration

data UnregistrationParams =
UnregistrationParams
{ _unregistrations :: List Unregistration
} deriving (Show, Read, Eq)
} deriving (Show, Eq)

deriveJSON lspOptions ''UnregistrationParams

Expand Down

0 comments on commit 58609e1

Please sign in to comment.