mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-07-13 22:14:34 -05:00
fixed scopeCheckExtendedClassInsidePublicMethod2 test
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
tests/cases/compiler/scopeCheckExtendedClassInsidePublicMethod2.ts(4,7): error TS2304: Cannot find name 'v'.
|
||||
tests/cases/compiler/scopeCheckExtendedClassInsidePublicMethod2.ts(4,7): error TS2663: Cannot find name 'v'. Did you mean to prefix the object member with 'this', 'this.v'?
|
||||
tests/cases/compiler/scopeCheckExtendedClassInsidePublicMethod2.ts(6,7): error TS2304: Cannot find name 's'.
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ tests/cases/compiler/scopeCheckExtendedClassInsidePublicMethod2.ts(6,7): error T
|
||||
public c() {
|
||||
v = 1;
|
||||
~
|
||||
!!! error TS2304: Cannot find name 'v'.
|
||||
!!! error TS2663: Cannot find name 'v'. Did you mean to prefix the object member with 'this', 'this.v'?
|
||||
this.p = 1;
|
||||
s = 1;
|
||||
~
|
||||
|
||||
Reference in New Issue
Block a user