Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions src/DAP/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3376,7 +3376,10 @@ data StepInArguments
-- Stepping granularity. If no granularity is specified, a granularity of
-- `statement` is assumed.
--
} deriving stock (Show, Eq)
} deriving stock (Show, Eq, Generic)
----------------------------------------------------------------------------
instance FromJSON StepInArguments where
parseJSON = genericParseJSONWithModifier
----------------------------------------------------------------------------
data StepOutArguments
= StepOutArguments
Expand All @@ -3394,7 +3397,10 @@ data StepOutArguments
-- Stepping granularity. If no granularity is specified, a granularity of
-- `statement` is assumed.
--
} deriving stock (Show, Eq)
} deriving stock (Show, Eq, Generic)
----------------------------------------------------------------------------
instance FromJSON StepOutArguments where
parseJSON = genericParseJSONWithModifier
----------------------------------------------------------------------------
data StepBackArguments
= StepBackArguments
Expand All @@ -3411,7 +3417,10 @@ data StepBackArguments
-- ^
-- Stepping granularity to step. If no granularity is specified, a granularity
-- of `statement` is assumed.
} deriving stock (Show, Eq)
} deriving stock (Show, Eq, Generic)
----------------------------------------------------------------------------
instance FromJSON StepBackArguments where
parseJSON = genericParseJSONWithModifier
----------------------------------------------------------------------------
data SteppingGranularity
= SteppingGranularityStatement
Expand Down
Loading