* Always generate type & symbol baselines * Accept changed shadowed baselines * Accept brand new type and symbol baselines * Allow `getTypeAtLocation` to return undefined in the type writer * Accept baselines which had missing type information * Bind container for dynamically names enum members so they may be printed * Accept type/symbol baselines for enums with computed members * First pass at reducing typeWriter memory overhead * Use generators to allow for type and symbol baselines with no cache * Accept new baselines for tests whose output was fixed by better newline splitting * Hard cap on number of declarations printed, cache declaration print text * handle differing newlines better still to handle RWC newlines * Lower abridging count, accept abridged baselines * Limit max RWC error output size, limit RWC type and symbol baseline input size * Move skip logic into type and symbol baseliner to streamline error handling * Accept removal of empty baselines * Canonicalize path earlier to handle odd paths in input files * Do canonicalization earlier still, also ensure parallel perf profiles for different targets do not trample one another * No need to pathify again
48 lines
1.3 KiB
Text
48 lines
1.3 KiB
Text
=== tests/cases/compiler/innerAliases.ts ===
|
|
module A {
|
|
>A : Symbol(A, Decl(innerAliases.ts, 0, 0))
|
|
|
|
export module B {
|
|
>B : Symbol(B, Decl(innerAliases.ts, 0, 10))
|
|
|
|
export module C {
|
|
>C : Symbol(C, Decl(innerAliases.ts, 1, 21))
|
|
|
|
export class Class1 {}
|
|
>Class1 : Symbol(Class1, Decl(innerAliases.ts, 2, 25))
|
|
}
|
|
}
|
|
}
|
|
|
|
module D {
|
|
>D : Symbol(D, Decl(innerAliases.ts, 6, 1))
|
|
|
|
import inner = A.B.C;
|
|
>inner : Symbol(inner, Decl(innerAliases.ts, 8, 10))
|
|
>A : Symbol(A, Decl(innerAliases.ts, 0, 0))
|
|
>B : Symbol(A.B, Decl(innerAliases.ts, 0, 10))
|
|
>C : Symbol(inner, Decl(innerAliases.ts, 1, 21))
|
|
|
|
var c1 = new inner.Class1();
|
|
>c1 : Symbol(c1, Decl(innerAliases.ts, 11, 7))
|
|
>inner.Class1 : Symbol(inner.Class1, Decl(innerAliases.ts, 2, 25))
|
|
>inner : Symbol(inner, Decl(innerAliases.ts, 8, 10))
|
|
>Class1 : Symbol(inner.Class1, Decl(innerAliases.ts, 2, 25))
|
|
|
|
export module E {
|
|
>E : Symbol(E, Decl(innerAliases.ts, 11, 32))
|
|
|
|
export class Class2 {}
|
|
>Class2 : Symbol(Class2, Decl(innerAliases.ts, 13, 21))
|
|
}
|
|
}
|
|
|
|
var c: D.inner.Class1;
|
|
>c : Symbol(c, Decl(innerAliases.ts, 18, 3))
|
|
>D : Symbol(D, Decl(innerAliases.ts, 6, 1))
|
|
|
|
c = new D.inner.Class1();
|
|
>c : Symbol(c, Decl(innerAliases.ts, 18, 3))
|
|
>D : Symbol(D, Decl(innerAliases.ts, 6, 1))
|
|
|
|
|