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

18 lines
900 B
Plaintext
Raw Normal View History

tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration25.ts(6,5): error TS2391: Function implementation is missing or not immediately following the declaration.
tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration25.ts(7,5): error TS2391: Function implementation is missing or not immediately following the declaration.
2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration25.ts (2 errors) ====
interface IList<T> {
data(): T;
next(): string;
}
class List<U> implements IList<U> {
data(): U;
2014-07-31 01:27:13 +02:00
~~~~
!!! error TS2391: Function implementation is missing or not immediately following the declaration.
2014-07-13 01:04:16 +02:00
next(): string;
2014-07-31 01:27:13 +02:00
~~~~
!!! error TS2391: Function implementation is missing or not immediately following the declaration.
2014-07-13 01:04:16 +02:00
}