File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed
lib/semmle/javascript/dataflow
test/library-tests/CallGraphs/AnnotatedTest Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -1437,8 +1437,6 @@ module ClassNode {
1437
1437
astNode instanceof ClassDefinition and
1438
1438
result = astNode .( ClassDefinition ) .getSuperClass ( ) .flow ( )
1439
1439
or
1440
- // Function-style class superclass patterns
1441
- astNode instanceof Function and
1442
1440
(
1443
1441
// C.prototype = Object.create(D.prototype)
1444
1442
exists ( DataFlow:: InvokeNode objectCreate , DataFlow:: PropRead superProto |
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ spuriousCallee
2
2
missingCallee
3
3
| constructor-field.ts:40:5:40:14 | f3.build() | constructor-field.ts:13:3:13:12 | build() {} | -1 | calls |
4
4
| constructor-field.ts:71:1:71:11 | bf3.build() | constructor-field.ts:13:3:13:12 | build() {} | -1 | calls |
5
- | prototypes.js:7:5:7:16 | this.greet() | prototypes.js:59:8:63:3 | () { \\n ... ); \\n } | -1 | calls |
6
5
badAnnotation
7
6
accessorCall
8
7
| accessors.js:12:1:12:5 | obj.f | accessors.js:5:8:5:12 | () {} |
You can’t perform that action at this time.
0 commit comments