JS: Add test showing missing re-export of base class relationship

This commit is contained in:
Asger F
2024-04-05 15:11:37 +02:00
parent 9313564e64
commit f2ea88aa4c
3 changed files with 12 additions and 0 deletions

View File

@@ -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() {}
}