Volodymyr Chernetskyi
8321941ff2
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.
2026-09-02 10:10:18 -04:00
..
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-08-27 16:12:11 -04:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-08-26 07:18:22 -04:00
2026-07-21 13:22:39 +02:00
2026-08-13 09:17:16 -04:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-08-26 07:18:22 -04:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-09-02 07:45:52 -04:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-09-02 10:08:37 -04:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-29 12:54:43 -04:00
2026-07-24 13:05:20 +02:00
2026-08-27 06:14:24 -04:00
2026-08-23 07:13:41 -04:00
2026-08-26 07:18:22 -04:00
2026-07-21 13:22:39 +02:00
2026-08-30 08:32:55 -04:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 08:04:16 -04:00
2026-07-26 06:24:39 -04:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-09-01 15:17:22 +00:00
2026-08-17 11:16:11 +08:00
2026-08-26 07:18:22 -04:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-09-02 10:10:18 -04:00
2026-08-26 07:18:22 -04:00
2026-07-21 13:22:39 +02:00
2026-08-26 07:18:22 -04:00
2026-07-21 13:22:39 +02:00