fixed scopeCheckExtendedClassInsidePublicMethod2 test

This commit is contained in:
shyyko.serhiy@gmail.com
2016-01-13 20:28:39 +02:00
parent 90ec38affc
commit 1d817d2337

View File

@@ -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;
~