Skip to content

Commit dc42668

Browse files
committed
fixed unqualifiedCallToClassStatic1 test
1 parent da5235f commit dc42668

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/cases/compiler/unqualifiedCallToClassStatic1.ts(4,3): error TS2304: Cannot find name 'foo'.
1+
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'?
22

33

44
==== tests/cases/compiler/unqualifiedCallToClassStatic1.ts (1 errors) ====
@@ -7,6 +7,6 @@ tests/cases/compiler/unqualifiedCallToClassStatic1.ts(4,3): error TS2304: Cannot
77
// 'foo' cannot be called in an unqualified manner.
88
foo();
99
~~~
10-
!!! error TS2304: Cannot find name 'foo'.
10+
!!! error TS2662: Cannot find name 'foo'. Did you mean to prefix the static member with the class name, 'Vector.foo'?
1111
}
1212
}

0 commit comments

Comments
 (0)