9 lines
249 B
Plaintext
9 lines
249 B
Plaintext
|
==== tests/cases/compiler/unqualifiedCallToClassStatic1.ts (1 errors) ====
|
||
|
class Vector {
|
||
|
static foo = () => {
|
||
|
// 'foo' cannot be called in an unqualified manner.
|
||
|
foo();
|
||
|
~~~
|
||
|
!!! Cannot find name 'foo'.
|
||
|
}
|
||
|
}
|