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

10 lines
318 B
Plaintext
Raw Normal View History

tests/cases/compiler/ClassDeclaration22.ts(3,5): error TS2389: Function implementation name must be '"foo"'.
2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/ClassDeclaration22.ts (1 errors) ====
class C {
"foo"();
"bar"() { }
2014-07-31 01:27:13 +02:00
~~~~~
!!! error TS2389: Function implementation name must be '"foo"'.
2014-07-13 01:04:16 +02:00
}