diff options
| author | Volodymyr Chernetskyi <volodymyr_chernetskyi@goodyear.com> | 2026-09-02 16:10:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-02 10:10:18 -0400 |
| commit | 8321941ff20e5583e2190cdfc532352ff4441914 (patch) | |
| tree | c2b6ca4647549f959844bed424e130d3974d756c /runtime/syntax/python.vim | |
| parent | a41d00866676a70358d5568ef3c6e6b21f1d0c43 (diff) | |
| download | rneovim-8321941ff20e5583e2190cdfc532352ff4441914.tar.gz rneovim-8321941ff20e5583e2190cdfc532352ff4441914.tar.bz2 rneovim-8321941ff20e5583e2190cdfc532352ff4441914.zip | |
fix(vim.version): fix metatable for intersections #41615
Problem:
`vim.version.intersect()` returns tables with `VersionRange` (method
table) as their metatable. Although the calculated bounds are correct,
the results do not expose `VersionRange` methods.
Solution:
Construct intersection tables with `range_mt`, matching
`vim.version.range()`. Add assertions covering method access and
repeated intersection.
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions