* 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
74 lines
2.2 KiB
Plaintext
74 lines
2.2 KiB
Plaintext
=== tests/cases/compiler/declInput-2.ts ===
|
|
module M {
|
|
>M : Symbol(M, Decl(declInput-2.ts, 0, 0))
|
|
|
|
class C { }
|
|
>C : Symbol(C, Decl(declInput-2.ts, 0, 10))
|
|
|
|
export class E {}
|
|
>E : Symbol(E, Decl(declInput-2.ts, 1, 15))
|
|
|
|
export interface I1 {}
|
|
>I1 : Symbol(I1, Decl(declInput-2.ts, 2, 21))
|
|
|
|
interface I2 {}
|
|
>I2 : Symbol(I2, Decl(declInput-2.ts, 3, 26))
|
|
|
|
export class D {
|
|
>D : Symbol(D, Decl(declInput-2.ts, 4, 19))
|
|
|
|
private c: C; // don't generate
|
|
>c : Symbol(D.c, Decl(declInput-2.ts, 5, 20))
|
|
>C : Symbol(C, Decl(declInput-2.ts, 0, 10))
|
|
|
|
public m1: number;
|
|
>m1 : Symbol(D.m1, Decl(declInput-2.ts, 6, 21))
|
|
|
|
public m2: string;
|
|
>m2 : Symbol(D.m2, Decl(declInput-2.ts, 7, 26))
|
|
|
|
public m22: C; // don't generate
|
|
>m22 : Symbol(D.m22, Decl(declInput-2.ts, 8, 26))
|
|
>C : Symbol(C, Decl(declInput-2.ts, 0, 10))
|
|
|
|
public m23: E;
|
|
>m23 : Symbol(D.m23, Decl(declInput-2.ts, 9, 22))
|
|
>E : Symbol(E, Decl(declInput-2.ts, 1, 15))
|
|
|
|
public m24: I1;
|
|
>m24 : Symbol(D.m24, Decl(declInput-2.ts, 10, 22))
|
|
>I1 : Symbol(I1, Decl(declInput-2.ts, 2, 21))
|
|
|
|
public m25: I2; // don't generate
|
|
>m25 : Symbol(D.m25, Decl(declInput-2.ts, 11, 23))
|
|
>I2 : Symbol(I2, Decl(declInput-2.ts, 3, 26))
|
|
|
|
public m232(): E { return null;}
|
|
>m232 : Symbol(D.m232, Decl(declInput-2.ts, 12, 23))
|
|
>E : Symbol(E, Decl(declInput-2.ts, 1, 15))
|
|
|
|
public m242(): I1 { return null; }
|
|
>m242 : Symbol(D.m242, Decl(declInput-2.ts, 13, 40))
|
|
>I1 : Symbol(I1, Decl(declInput-2.ts, 2, 21))
|
|
|
|
public m252(): I2 { return null; } // don't generate
|
|
>m252 : Symbol(D.m252, Decl(declInput-2.ts, 14, 42))
|
|
>I2 : Symbol(I2, Decl(declInput-2.ts, 3, 26))
|
|
|
|
public m26(i:I1) {}
|
|
>m26 : Symbol(D.m26, Decl(declInput-2.ts, 15, 42))
|
|
>i : Symbol(i, Decl(declInput-2.ts, 16, 19))
|
|
>I1 : Symbol(I1, Decl(declInput-2.ts, 2, 21))
|
|
|
|
public m262(i:I2) {}
|
|
>m262 : Symbol(D.m262, Decl(declInput-2.ts, 16, 27))
|
|
>i : Symbol(i, Decl(declInput-2.ts, 17, 20))
|
|
>I2 : Symbol(I2, Decl(declInput-2.ts, 3, 26))
|
|
|
|
public m3():C { return new C(); }
|
|
>m3 : Symbol(D.m3, Decl(declInput-2.ts, 17, 28))
|
|
>C : Symbol(C, Decl(declInput-2.ts, 0, 10))
|
|
>C : Symbol(C, Decl(declInput-2.ts, 0, 10))
|
|
}
|
|
}
|