haskell / lsp

Haskell library for the Microsoft Language Server Protocol
366 stars 92 forks source link

Missing `null` case of response to `textDocument/definition` request #411

Closed lehmacdj closed 1 year ago

lehmacdj commented 2 years ago
ResponseResult TextDocumentDefinition = Location |? (List Location |? List LocationLink)
Screen Shot 2022-03-12 at 4 59 46 PM

I suppose it is possible to return List [] instead of null because it should have the semantics though.

michaelpj commented 2 years ago

Related: https://github.com/haskell/lsp/issues/268

michaelpj commented 1 year ago

Fixed