Skip to content

Commit

Permalink
Add TODO(#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbaldry committed Oct 17, 2021
1 parent 84e0f6f commit a48078f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (s *server) Declaration(context.Context, *protocol.DeclarationParams) (prot
// as it is not a terminal node and is instead part of the "index" symbol which has the children "obj" and "field".
// This works well in all cases where the Jsonnet parser has put correct location information. Unfortunately,
// the literal string node "field" of "obj.field" does not have correct location information.
// TODO: Understand why the parser has not attached correct location range for indexes.
// TODO(#8): Understand why the parser has not attached correct location range for indexes.
func (s *server) Definition(ctx context.Context, params *protocol.DefinitionParams) (protocol.Definition, error) {
doc, err := s.cache.get(params.TextDocument.URI)
if err != nil {
Expand Down

0 comments on commit a48078f

Please sign in to comment.