File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
javascript/ql/test/library-tests/CallGraphs/AnnotatedTest Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ spuriousCallee
22missingCallee
33| constructor-field.ts:40:5:40:14 | f3.build() | constructor-field.ts:13:3:13:12 | build() {} | -1 | calls |
44| constructor-field.ts:71:1:71:11 | bf3.build() | constructor-field.ts:13:3:13:12 | build() {} | -1 | calls |
5+ | implied-receiver.js:7:13:7:25 | this.member() | implied-receiver.js:17:22:19:1 | functio ... n 42;\\n} | -1 | calls |
56badAnnotation
67accessorCall
78| accessors.js:12:1:12:5 | obj.f | accessors.js:5:8:5:12 | () {} |
Original file line number Diff line number Diff line change 1+ import 'dummy' ;
2+
3+ function fooFactoryFactory ( ) {
4+ return function fooFactory ( ) {
5+ return function foo ( ) {
6+ /** calls:F.member */
7+ this . member ( ) ;
8+ }
9+ }
10+ }
11+
12+ function F ( ) {
13+ this . foo = fooFactoryFactory ( ) ( ) ;
14+ }
15+
16+ /** name:F.member */
17+ F . prototype . member = function ( ) {
18+ return 42 ;
19+ } ;
You can’t perform that action at this time.
0 commit comments