File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
javascript/ql/test/library-tests/EndpointNaming Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 11testFailures
2+ | pack1/main.js:19:6:19:10 | | Unexpected result: name=(pack1).InternalClass.prototype.m |
23ambiguousPreferredPredecessor
34| pack2/lib.js:1:1:3:1 | def moduleImport("pack2").getMember("exports").getMember("lib").getMember("LibClass").getInstance() |
45| pack2/lib.js:8:22:8:34 | def moduleImport("pack2").getMember("exports").getMember("lib").getMember("LibClass").getMember("foo") |
Original file line number Diff line number Diff line change @@ -13,3 +13,9 @@ export function getEscapingInstance() {
1313} // $ name=(pack1).getEscapingInstance
1414
1515export function publicFunction ( ) { } // $ name=(pack1).publicFunction
16+
17+ // Escapes into an upstream library, but is not exposed downstream
18+ class InternalClass {
19+ m ( ) { }
20+ }
21+ require ( 'foo' ) . bar ( new InternalClass ( ) ) ;
You can’t perform that action at this time.
0 commit comments