Commit Graph
1 Commits
Author SHA1 Message Date
A.Levin 6cebd67d3a test: cover bare require() imports edges for Lua (#3320)
A bare `require("mod")` statement with no assignment produces no imports
edge, while `local x = require("mod")` does. Cover the bare form in the
flattened and lua/config layouts, with and without parentheses, plus
guards for the callback recursion a fix must preserve and for method-style
calls that must not fabricate an edge.

(cherry picked from commit c87586c343)
2026-09-13 17:47:57 +01:00