Python: Handle dict unpacking in calls

Co-authored-by: yoff <yoff@github.com>
This commit is contained in:
Taus
2026-04-21 16:03:38 +00:00
committed by yoff
parent bac48b4914
commit 71a547b0d3

View File

@@ -364,6 +364,8 @@ private module Ast {
ExprNode getKeywordValue(int n) {
result.asExpr() = call.getNamedArg(n).(Py::Keyword).getValue()
or
result.asExpr() = call.getNamedArg(n).(Py::DictUnpacking).getValue()
}
int getNumberOfNamedArgs() { result = count(call.getANamedArg()) }