mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
fixed unqualifiedCallToClassStatic1 test
This commit is contained in:
@@ -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'?
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user