rajatnagda45
1e11bd6942
fix(lua): resolve colon-method calls (obj:method())
...
A colon call `obj:method()` parses as a method_index_expression whose
callee is in the `method` field and whose receiver is in the `table`
field, but _LUA_CONFIG read the absent `name` field, so the callee was
never captured and every colon call was dropped from the call graph.
Point the accessor at the right fields and, when the receiver is `self`,
rewrite the bare method name to its enclosing-table label (Animal:method)
so it resolves like any other colon-method definition. An arbitrary-object
receiver (other:m()) is left unqualified and deferred so it cannot bind to
an unrelated same-named bare function.
Fixes #3991
(cherry picked from commit 000b0775c0 )
2026-10-02 16:50:45 +01:00
..
2026-09-21 19:19:26 +01:00
2026-09-30 20:41:10 +01:00
2026-09-30 20:41:10 +01:00
2026-09-12 22:23:00 +01:00
2026-09-29 13:49:39 +01:00
2026-09-22 17:30:28 +01:00
2026-09-21 19:44:17 +01:00
2026-09-22 15:00:07 +01:00
2026-09-22 14:58:22 +01:00
2026-09-17 11:01:38 +01:00
2026-09-30 20:41:10 +01:00
2026-09-14 18:55:31 +01:00
2026-09-25 15:44:08 +01:00
2026-09-30 20:16:06 +01:00
2026-09-17 11:03:41 +01:00
2026-09-27 18:56:31 +01:00
2026-09-13 17:47:56 +01:00
2026-09-27 18:39:52 +01:00
2026-09-25 16:01:47 +01:00
2026-09-25 16:01:47 +01:00
2026-09-26 13:53:08 +01:00
2026-09-28 09:13:29 +01:00
2026-09-28 10:15:38 +01:00
2026-09-16 15:37:30 +01:00
2026-09-21 19:19:26 +01:00
2026-09-23 16:54:04 +01:00
2026-09-29 13:49:39 +01:00
2026-09-16 16:20:01 +01:00
2026-09-23 19:45:40 +01:00
2026-09-29 13:49:39 +01:00
2026-09-30 20:10:34 +01:00
2026-09-22 14:58:12 +01:00
2026-09-22 14:58:12 +01:00
2026-09-30 20:41:10 +01:00
2026-09-30 20:41:10 +01:00
2026-09-25 16:15:15 +01:00
2026-09-20 13:59:26 +01:00
2026-09-28 09:13:29 +01:00
2026-09-30 20:41:10 +01:00
2026-09-20 13:59:25 +01:00
2026-09-30 20:10:34 +01:00
2026-09-14 18:49:19 +01:00
2026-09-26 13:53:08 +01:00
2026-09-13 17:47:55 +01:00
2026-09-27 18:39:52 +01:00
2026-10-02 16:50:45 +01:00
2026-09-30 20:41:10 +01:00
2026-09-22 17:30:28 +01:00
2026-09-30 20:10:34 +01:00
2026-09-23 17:01:39 +01:00
2026-09-13 17:47:57 +01:00
2026-10-02 16:50:45 +01:00
2026-09-30 20:41:10 +01:00
2026-09-16 14:50:54 +01:00
2026-09-17 11:01:37 +01:00
2026-09-30 20:10:34 +01:00
2026-09-26 13:45:58 +01:00
2026-09-28 10:18:13 +01:00
2026-09-17 11:01:38 +01:00
2026-09-25 15:44:21 +01:00
2026-09-27 18:40:06 +01:00
2026-09-28 09:14:38 +01:00
2026-09-13 17:47:54 +01:00
2026-09-21 18:04:04 +01:00
2026-09-28 10:15:38 +01:00
2026-09-16 14:43:05 +01:00
2026-09-18 15:16:09 +01:00
2026-09-13 17:47:54 +01:00
2026-09-14 18:52:06 +01:00
2026-09-22 17:30:28 +01:00
2026-09-29 14:37:10 +01:00
2026-09-27 18:39:51 +01:00
2026-09-30 20:41:10 +01:00
2026-09-13 17:47:54 +01:00
2026-09-23 17:01:39 +01:00
2026-09-20 13:59:25 +01:00
2026-09-15 18:01:35 +01:00
2026-09-27 18:39:51 +01:00
2026-09-20 18:53:35 +01:00
2026-09-30 20:41:10 +01:00
2026-09-30 20:41:10 +01:00
2026-09-28 10:16:51 +01:00
2026-09-28 10:15:38 +01:00