Skip to content

Commit 18171bc

Browse files
authored
Merge pull request #20 from haskell-debugger/wip/romes/fix
dap: FunctionBreakpoint name is not optional
2 parents 0296b5c + 343225f commit 18171bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DAP/Types.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3121,7 +3121,7 @@ instance FromJSON SetFunctionBreakpointsArguments where
31213121
----------------------------------------------------------------------------
31223122
data FunctionBreakpoint
31233123
= FunctionBreakpoint
3124-
{ functionBreakpointName :: Maybe Text
3124+
{ functionBreakpointName :: Text
31253125
-- ^
31263126
-- The name of the function.
31273127
--
@@ -3143,7 +3143,7 @@ data FunctionBreakpoint
31433143
defaultFunctionBreakpoint :: FunctionBreakpoint
31443144
defaultFunctionBreakpoint
31453145
= FunctionBreakpoint
3146-
{ functionBreakpointName = Nothing
3146+
{ functionBreakpointName = ""
31473147
, functionBreakpointCondition = Nothing
31483148
, functionBreakpointHitCondition = Nothing
31493149
}

0 commit comments

Comments
 (0)