* Add diagnostic pointing to this-shadowing location * Fix almost-top-level-this case * Change message on span
10 lines
127 B
TypeScript
10 lines
127 B
TypeScript
// @strict: true
|
|
class C {
|
|
m() {
|
|
this.m();
|
|
function f() {
|
|
this.m();
|
|
}
|
|
}
|
|
}
|