mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
fixed scopeCheckExtendedClassInsidePublicMethod2 test
This commit is contained in:
1 parent
90ec38affc
commit
1d817d2337
1 file changed
+2
-2
@@ -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