fixed unqualifiedCallToClassStatic1 test
This commit is contained in:
parent
da5235fc51
commit
dc426683af
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
tests/cases/compiler/unqualifiedCallToClassStatic1.ts(4,3): error TS2304: Cannot find name 'foo'.
|
||||
tests/cases/compiler/unqualifiedCallToClassStatic1.ts(4,3): error TS2662: Cannot find name 'foo'. Did you mean to prefix the static member with the class name, 'Vector.foo'?
|
||||
|
||||
|
||||
==== tests/cases/compiler/unqualifiedCallToClassStatic1.ts (1 errors) ====
|
||||
|
@ -7,6 +7,6 @@ tests/cases/compiler/unqualifiedCallToClassStatic1.ts(4,3): error TS2304: Cannot
|
|||
// 'foo' cannot be called in an unqualified manner.
|
||||
foo();
|
||||
~~~
|
||||
!!! error TS2304: Cannot find name 'foo'.
|
||||
!!! error TS2662: Cannot find name 'foo'. Did you mean to prefix the static member with the class name, 'Vector.foo'?
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue