diff options
| author | Volodymyr Chernetskyi <volodymyr_chernetskyi@goodyear.com> | 2026-09-27 13:36:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-27 07:36:29 -0400 |
| commit | 1e2110456eb72d28240346c6c71f44da6e9894f2 (patch) | |
| tree | c949590f2259fa18fb10fe8852794772d1ddaf45 /runtime/lua/vim/provider/python.lua | |
| parent | a835a3f1a09653a6b201dc08413b33a2b7c0db0a (diff) | |
| download | rneovim-1e2110456eb72d28240346c6c71f44da6e9894f2.tar.gz rneovim-1e2110456eb72d28240346c6c71f44da6e9894f2.tar.bz2 rneovim-1e2110456eb72d28240346c6c71f44da6e9894f2.zip | |
fix(lsp): preserve tag types to stabilize emmylua checks #42117
Problem:
EmmyLua widens singleton completion and symbol tags to integer during
generic inference. Nested field checking can skip the resulting type
mismatch depending on member iteration order, making lint flaky.
Solution:
Annotate both tag tables with their protocol types so get_value_set()
preserves the singleton tag types without changing runtime behavior or
disabling diagnostics.
Validated with 1,000 consecutive full-runtime checks using EmmyLua 0.25.1
on macOS arm64.
AI-assisted
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions