File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
src/semmle/javascript/dataflow
test/library-tests/RecursionPrevention Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -337,7 +337,7 @@ module SourceNode {
337337 /** INTERNAL. DO NOT USE. */
338338 module Internal {
339339 /** An empty class that some tests are using to enforce that SourceNode is non-recursive. */
340- abstract class RecursionGuard extends DataFlow:: Node { }
340+ abstract class RecursionGuard extends DataFlow:: Node { }
341341 }
342342}
343343
Original file line number Diff line number Diff line change 88import javascript
99
1010class BadSourceNodeRange extends DataFlow:: SourceNode:: Internal:: RecursionGuard {
11- BadSourceNodeRange ( ) {
12- not this instanceof DataFlow:: SourceNode:: Range
13- }
11+ BadSourceNodeRange ( ) { not this instanceof DataFlow:: SourceNode:: Range }
1412}
1513
1614select "Success"
You can’t perform that action at this time.
0 commit comments