TypeScript/tests/baselines/reference/decoratedClassExportsSystem2.symbols
Yui 9886f88004 [Release-2.0] Fix 9685: missing decoratedClassAlias emit in self-reference decorated class (#9763)
* Wip

* Fix incorrect emit decorated class alias when targeting es6 or higher

* Add tests and baselines

* Remove unused test file
2016-07-18 08:48:12 -07:00

18 lines
533 B
Plaintext

=== tests/cases/conformance/decorators/class/a.ts ===
declare function forwardRef(x: any): any;
>forwardRef : Symbol(forwardRef, Decl(a.ts, 0, 0))
>x : Symbol(x, Decl(a.ts, 1, 28))
declare var Something: any;
>Something : Symbol(Something, Decl(a.ts, 2, 11))
@Something({ v: () => Testing123 })
>Something : Symbol(Something, Decl(a.ts, 2, 11))
>v : Symbol(v, Decl(a.ts, 3, 12))
>Testing123 : Symbol(Testing123, Decl(a.ts, 2, 27))
export class Testing123 { }
>Testing123 : Symbol(Testing123, Decl(a.ts, 2, 27))