File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
javascript/ql/src/semmle/javascript Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -167,6 +167,7 @@ module PromiseTypeTracking {
167
167
* Gets the result from a single step through a promise, from `pred` to `result` summarized by `summary`.
168
168
* This can be loading a resolved value from a promise, storing a value in a promise, or copying a resolved value from one promise to another.
169
169
*/
170
+ pragma [ inline]
170
171
DataFlow:: SourceNode promiseStep ( DataFlow:: SourceNode pred , StepSummary summary ) {
171
172
exists ( PromiseFlowStep step , string field | field = Promises:: valueProp ( ) |
172
173
summary = LoadStep ( field ) and
@@ -184,6 +185,7 @@ module PromiseTypeTracking {
184
185
* Gets the result from a single step through a promise, from `pred` with tracker `t2` to `result` with tracker `t`.
185
186
* This can be loading a resolved value from a promise, storing a value in a promise, or copying a resolved value from one promise to another.
186
187
*/
188
+ pragma [ inline]
187
189
DataFlow:: SourceNode promiseStep (
188
190
DataFlow:: SourceNode pred , DataFlow:: TypeTracker t , DataFlow:: TypeTracker t2
189
191
) {
You can’t perform that action at this time.
0 commit comments