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 {
167167 * Gets the result from a single step through a promise, from `pred` to `result` summarized by `summary`.
168168 * 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.
169169 */
170+ pragma [ inline]
170171 DataFlow:: SourceNode promiseStep ( DataFlow:: SourceNode pred , StepSummary summary ) {
171172 exists ( PromiseFlowStep step , string field | field = Promises:: valueProp ( ) |
172173 summary = LoadStep ( field ) and
@@ -184,6 +185,7 @@ module PromiseTypeTracking {
184185 * Gets the result from a single step through a promise, from `pred` with tracker `t2` to `result` with tracker `t`.
185186 * 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.
186187 */
188+ pragma [ inline]
187189 DataFlow:: SourceNode promiseStep (
188190 DataFlow:: SourceNode pred , DataFlow:: TypeTracker t , DataFlow:: TypeTracker t2
189191 ) {
You can’t perform that action at this time.
0 commit comments