File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
javascript/ql/lib/semmle/javascript/dataflow/internal Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ string encodeArgumentPosition(ArgumentPosition pos) {
126126}
127127
128128/** Gets the return kind corresponding to specification `"ReturnValue"`. */
129- ReturnKind getStandardReturnValueKind ( ) { result = MkNormalReturnKind ( ) }
129+ ReturnKind getStandardReturnValueKind ( ) { result = MkNormalReturnKind ( ) and Stage :: ref ( ) }
130130
131131private module FlowSummaryStepInput implements Private:: StepsInputSig {
132132 DataFlowCall getACall ( SummarizedCallable sc ) {
@@ -238,3 +238,12 @@ ContentSet decodeUnknownWithoutContent(AccessPathSyntax::AccessPathTokenBase tok
238238 */
239239bindingset [ token]
240240ContentSet decodeUnknownWithContent ( AccessPathSyntax:: AccessPathTokenBase token ) { none ( ) }
241+
242+ cached
243+ module Stage {
244+ cached
245+ predicate ref ( ) { 1 = 1 }
246+
247+ cached
248+ predicate backref ( ) { optionalStep ( _, _, _) }
249+ }
You can’t perform that action at this time.
0 commit comments