File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
lib/semmle/javascript/dataflow
test/library-tests/DataFlow Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1580,6 +1580,8 @@ module DataFlow {
1580
1580
or
1581
1581
predExpr = succExpr .( TypeAssertion ) .getExpression ( )
1582
1582
or
1583
+ predExpr = succExpr .( SatisfiesExpr ) .getExpression ( )
1584
+ or
1583
1585
predExpr = succExpr .( NonNullAssertion ) .getExpression ( )
1584
1586
or
1585
1587
predExpr = succExpr .( ExpressionWithTypeArguments ) .getExpression ( )
Original file line number Diff line number Diff line change @@ -998,6 +998,7 @@ flowStep
998
998
| tst2.ts:13:26:13:29 | List | tst2.ts:13:26:13:37 | List<string> |
999
999
| tst2.ts:13:39:13:38 | args | tst2.ts:13:39:13:38 | args |
1000
1000
| tst2.ts:13:39:13:38 | args | tst2.ts:13:39:13:38 | args |
1001
+ | tst2.ts:15:11:15:13 | A.x | tst2.ts:15:11:15:30 | A.x satisfies number |
1001
1002
| tst.js:1:1:1:1 | x | tst.js:3:5:3:5 | x |
1002
1003
| tst.js:1:10:1:11 | fs | tst.js:1:10:1:11 | fs |
1003
1004
| tst.js:1:10:1:11 | fs | tst.js:7:1:7:2 | fs |
@@ -1184,6 +1185,7 @@ getImmediatePredecessor
1184
1185
| tst2.ts:13:26:13:29 | List | tst2.ts:13:26:13:37 | List<string> |
1185
1186
| tst2.ts:13:39:13:38 | args | tst2.ts:13:39:13:38 | args |
1186
1187
| tst2.ts:13:39:13:38 | args | tst2.ts:13:39:13:38 | args |
1188
+ | tst2.ts:15:11:15:13 | A.x | tst2.ts:15:11:15:30 | A.x satisfies number |
1187
1189
| tst.js:1:10:1:11 | fs | tst.js:1:10:1:11 | fs |
1188
1190
| tst.js:1:10:1:11 | fs | tst.js:7:1:7:2 | fs |
1189
1191
| tst.js:1:10:1:11 | fs | tst.js:22:24:22:25 | fs |
You can’t perform that action at this time.
0 commit comments