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

22 lines
1.3 KiB
Plaintext
Raw Normal View History

2015-04-27 03:31:47 +02:00
tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClass2.ts(3,18): error TS1148: Cannot compile modules unless the '--module' flag is provided.
tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClass2.ts(3,43): error TS2304: Cannot find name 'ILogger'.
tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClass2.ts(4,37): error TS2304: Cannot find name 'ILogger'.
tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClass2.ts(5,18): error TS2339: Property '_information' does not exist on type 'LoggerAdapter'.
2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClass2.ts (4 errors) ====
export class LoggerAdapter implements ILogger {
~~~~~~~~~~~~~
2015-04-27 03:31:47 +02:00
!!! error TS1148: Cannot compile modules unless the '--module' flag is provided.
2014-07-13 01:04:16 +02:00
~~~~~~~
!!! error TS2304: Cannot find name 'ILogger'.
2014-07-13 01:04:16 +02:00
constructor (public logger: ILogger) {
~~~~~~~
!!! error TS2304: Cannot find name 'ILogger'.
2014-07-13 01:04:16 +02:00
this._information = this.logger.information();
~~~~~~~~~~~~
!!! error TS2339: Property '_information' does not exist on type 'LoggerAdapter'.
2014-07-13 01:04:16 +02:00
}
}