File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
javascript/ql/src/semmle/javascript/dataflow Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1369,18 +1369,18 @@ module DataFlow {
1369
1369
*/
1370
1370
private predicate lvalueDefaultFlowStep ( Node pred , Node succ ) {
1371
1371
exists ( PropertyPattern pattern |
1372
- pred = valueNode ( pattern .getDefault ( ) ) and
1372
+ pred = TValueNode ( pattern .getDefault ( ) ) and
1373
1373
succ = lvalueNode ( pattern .getValuePattern ( ) )
1374
1374
)
1375
1375
or
1376
1376
exists ( ArrayPattern array , int i |
1377
- pred = valueNode ( array .getDefault ( i ) ) and
1377
+ pred = TValueNode ( array .getDefault ( i ) ) and
1378
1378
succ = lvalueNode ( array .getElement ( i ) )
1379
1379
)
1380
1380
or
1381
1381
exists ( Parameter param |
1382
- pred = valueNode ( param .getDefault ( ) ) and
1383
- succ = parameterNode ( param )
1382
+ pred = TValueNode ( param .getDefault ( ) ) and
1383
+ parameterNode ( succ , param )
1384
1384
)
1385
1385
}
1386
1386
You can’t perform that action at this time.
0 commit comments