JS: Update ATM code

This commit is contained in:
Asger F
2022-05-24 11:38:19 +02:00
parent 631527fe49
commit 87cbf7b216

View File

@@ -144,9 +144,9 @@ private module AccessPaths {
not param = base.getReceiver()
|
result = param and
name = param.getASource().asExpr().(Parameter).getName()
name = param.asSource().asExpr().(Parameter).getName()
or
param.getASource().asExpr() instanceof DestructuringPattern and
param.asSource().asExpr() instanceof DestructuringPattern and
result = param.getMember(name)
)
}