go-language-server / protocol

Package protocol implements Language Server Protocol specification in Go
https://pkg.go.dev/go.lsp.dev/protocol
BSD 3-Clause "New" or "Revised" License
98 stars 15 forks source link

context: fix context key #46

Closed hiroebe closed 11 months ago

hiroebe commented 1 year ago

Each context key must have its own type. Otherwise, keys will conflict.

codecov[bot] commented 1 year ago

Codecov Report

Merging #46 (ccfee3f) into main (d6b9de0) will not change coverage. The diff coverage is 0.0%.

Impacted file tree graph

@@          Coverage Diff          @@
##            main     #46   +/-   ##
=====================================
  Coverage   16.1%   16.1%           
=====================================
  Files         17      17           
  Lines       1760    1760           
=====================================
  Hits         285     285           
  Misses      1474    1474           
  Partials       1       1           
Impacted Files Coverage Δ
context.go 0.0% <0.0%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d6b9de0...ccfee3f. Read the comment docs.