* Corrected parsing for decorators on 'this' parameters * Moved checking to parser and added a specific test * Remove unrelated checker.ts blank line * Missed some baseeline updates...
6 lines
No EOL
147 B
TypeScript
6 lines
No EOL
147 B
TypeScript
declare const dec: any;
|
|
|
|
class C { n = true; }
|
|
|
|
function direct(@dec this: C) { return this.n; }
|
|
function called(@dec() this: C) { return this.n; } |