TypeScript/tests/baselines/reference/staticClassMemberError.errors.txt

19 lines
470 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/staticClassMemberError.ts (3 errors) ====
class C {
static s;
public a() {
s = 1;
~
!!! Cannot find name 's'.
}
}
// just want to make sure this one doesn't crash the compiler
function Foo();
2014-07-31 01:27:13 +02:00
~~~
!!! Function implementation is missing or not immediately following the declaration.
2014-07-13 01:04:16 +02:00
class Foo {
~~~
!!! Duplicate identifier 'Foo'.
static bar;
}