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 1
1
testFailures
2
+ | pack1/main.js:19:6:19:10 | | Unexpected result: name=(pack1).InternalClass.prototype.m |
2
3
ambiguousPreferredPredecessor
3
4
| pack2/lib.js:1:1:3:1 | def moduleImport("pack2").getMember("exports").getMember("lib").getMember("LibClass").getInstance() |
4
5
| 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() {
13
13
} // $ name=(pack1).getEscapingInstance
14
14
15
15
export 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