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-09-02 09:51:47 +08:00
2025-05-06 05:15:31 -07:00
2026-09-02 13:52:12 +08:00
2026-03-13 20:32:01 +01:00
2026-08-13 09:17:16 -04:00
2026-08-09 00:49:20 +00:00
2026-03-13 20:32:01 +01:00
2026-08-26 10:55:45 -04:00
2026-08-31 08:41:19 -04:00
2026-06-02 08:41:36 -04:00
2026-07-31 19:20:34 +03:00
2026-06-02 18:17:03 +08:00
2026-09-02 08:12:07 -04:00
2026-08-02 14:42:47 -04:00
2026-07-17 07:09:04 -04:00
2025-12-16 13:22:05 -05:00
2026-07-31 21:50:04 +02:00
2026-04-30 07:26:40 -04:00
2026-07-15 05:55:51 -04:00
2026-07-25 12:47:51 -04:00
2026-05-20 14:09:20 +02:00
2026-08-04 05:19:54 -04:00
2026-05-06 11:13:15 -04:00
2026-08-29 08:49:18 +08:00
2026-08-16 13:29:34 -04:00
2026-02-12 07:15:20 -05:00
2026-01-12 10:58:01 -08:00
2026-07-29 09:03:53 -04:00
2026-09-02 07:45:52 -04:00
2026-01-09 10:07:15 +01:00
2026-07-20 09:53:06 -04:00
2026-07-25 10:36:56 -07:00
2026-09-02 10:08:37 -04:00
2026-07-08 20:15:42 +00:00
2026-08-18 05:16:16 -04:00
2026-05-05 16:26:59 -04:00
2026-08-25 13:32:25 +02:00
2026-08-23 07:13:41 -04:00
2024-02-03 16:53:41 +01:00
2026-08-23 07:13:41 -04:00
2025-02-10 03:04:01 -08:00
2026-09-02 10:09:20 -04:00
2026-08-30 08:32:55 -04:00
2026-07-26 06:24:39 -04:00
2026-08-01 17:48:32 -04:00
2026-06-24 10:40:36 -04:00
2026-08-22 10:49:55 -04:00
2026-04-30 07:12:35 -04:00
2026-09-02 10:10:18 -04:00