mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
JS: Add test showing missing re-export of base class relationship
This commit is contained in:
@@ -9,3 +9,11 @@ export class B extends A {
|
||||
export class C extends B {
|
||||
c() {}
|
||||
}
|
||||
|
||||
import * as upstream from "upstream-lib";
|
||||
|
||||
// TODO: needs to emit type model: [upstream.Type; (subclass).D.prototype; ""]
|
||||
// The getAValueReachableFromSource() logic does not handle the base class -> instance step
|
||||
export class D extends upstream.Type {
|
||||
d() {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user