mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
fixed scopeCheckExtendedClassInsideStaticMethod1 test
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
tests/cases/compiler/scopeCheckExtendedClassInsideStaticMethod1.ts(4,7): error TS2304: Cannot find name 'v'.
|
||||
tests/cases/compiler/scopeCheckExtendedClassInsideStaticMethod1.ts(5,12): error TS2339: Property 'p' does not exist on type 'typeof D'.
|
||||
tests/cases/compiler/scopeCheckExtendedClassInsideStaticMethod1.ts(6,7): error TS2304: Cannot find name 's'.
|
||||
tests/cases/compiler/scopeCheckExtendedClassInsideStaticMethod1.ts(6,7): error TS2662: Cannot find name 's'. Did you mean to prefix the static member with the class name, 'D.s'?
|
||||
|
||||
|
||||
==== tests/cases/compiler/scopeCheckExtendedClassInsideStaticMethod1.ts (3 errors) ====
|
||||
@@ -15,6 +15,6 @@ tests/cases/compiler/scopeCheckExtendedClassInsideStaticMethod1.ts(6,7): error T
|
||||
!!! error TS2339: Property 'p' does not exist on type 'typeof D'.
|
||||
s = 1;
|
||||
~
|
||||
!!! error TS2304: Cannot find name 's'.
|
||||
!!! error TS2662: Cannot find name 's'. Did you mean to prefix the static member with the class name, 'D.s'?
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user