File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed
javascript/ql/test/library-tests/TypeTracking Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ test_Connection
38
38
| tst.js:112:10:112:14 | obj.x |
39
39
| tst.js:114:1:114:28 | getX({ ... on() }) |
40
40
| tst.js:114:11:114:25 | getConnection() |
41
+ | tst.js:118:12:118:26 | getConnection() |
41
42
| tst_conflict.js:6:38:6:77 | api.cha ... ction() |
42
43
test_DataCallback
43
44
| client.js:3:28:3:34 | x => {} |
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ connection
40
40
| type tracker without call steps | tst.js:108:8:108:22 | getConnection() |
41
41
| type tracker without call steps | tst.js:114:1:114:28 | getX({ ... on() }) |
42
42
| type tracker without call steps | tst.js:114:11:114:25 | getConnection() |
43
+ | type tracker without call steps | tst.js:118:12:118:26 | getConnection() |
43
44
| type tracker without call steps | tst_conflict.js:6:38:6:77 | api.cha ... ction() |
44
45
| type tracker without call steps with property MyApplication.namespace.connection | file://:0:0:0:0 | global access path |
45
46
| type tracker without call steps with property conflict | tst.js:63:3:63:25 | MyAppli ... mespace |
Original file line number Diff line number Diff line change @@ -113,3 +113,15 @@ function getX(obj) {
113
113
}
114
114
getX ( { x : getConnection ( ) } ) ;
115
115
getX ( { x : somethingElse ( ) } ) ;
116
+
117
+ function makeConnectionAsync ( callback ) {
118
+ callback ( getConnection ( ) ) ;
119
+ }
120
+ makeConnectionAsync ( conn => { } ) ;
121
+ makeConnectionAsync ( ) ; // suppress single-call precision gains
122
+
123
+ function makeConnectionAsync2 ( callback ) {
124
+ makeConnectionAsync ( callback ) ;
125
+ }
126
+ makeConnectionAsync2 ( conn => { } ) ;
127
+ makeConnectionAsync2 ( ) ; // suppress single-call precision gains
You can’t perform that action at this time.
0 commit comments