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

19 lines
1 KiB
Plaintext
Raw Normal View History

tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserUnfinishedTypeNameBeforeKeyword1.ts(1,8): error TS2304: Cannot find name 'TypeModule1'.
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserUnfinishedTypeNameBeforeKeyword1.ts(2,8): error TS1005: '=' expected.
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserUnfinishedTypeNameBeforeKeyword1.ts(2,8): error TS2304: Cannot find name 'TypeModule2'.
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserUnfinishedTypeNameBeforeKeyword1.ts(2,20): error TS1005: ',' expected.
2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserUnfinishedTypeNameBeforeKeyword1.ts (4 errors) ====
var x: TypeModule1.
2015-03-02 21:21:53 +01:00
~~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeModule1'.
2015-03-02 21:21:53 +01:00
module TypeModule2 {
2014-07-13 01:04:16 +02:00
~~~~~~~~~~~
!!! error TS1005: '=' expected.
~~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeModule2'.
~
!!! error TS1005: ',' expected.
2014-07-13 01:04:16 +02:00
}