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

24 lines
1.1 KiB
Plaintext
Raw Normal View History

2015-01-26 23:34:22 +01:00
tests/cases/conformance/parser/ecmascript6/Symbols/parserSymbolIndexer5.ts(2,6): error TS2304: Cannot find name 's'.
tests/cases/conformance/parser/ecmascript6/Symbols/parserSymbolIndexer5.ts(2,7): error TS1005: ']' expected.
2015-02-04 00:52:06 +01:00
tests/cases/conformance/parser/ecmascript6/Symbols/parserSymbolIndexer5.ts(2,9): error TS2304: Cannot find name 'symbol'.
2015-01-26 23:34:22 +01:00
tests/cases/conformance/parser/ecmascript6/Symbols/parserSymbolIndexer5.ts(2,15): error TS1005: ',' expected.
tests/cases/conformance/parser/ecmascript6/Symbols/parserSymbolIndexer5.ts(2,16): error TS1136: Property assignment expected.
tests/cases/conformance/parser/ecmascript6/Symbols/parserSymbolIndexer5.ts(3,1): error TS1005: ':' expected.
2015-02-04 00:52:06 +01:00
==== tests/cases/conformance/parser/ecmascript6/Symbols/parserSymbolIndexer5.ts (6 errors) ====
2015-01-26 23:34:22 +01:00
var x = {
2015-02-04 00:52:06 +01:00
[s: symbol]: ""
2015-01-26 23:34:22 +01:00
~
!!! error TS2304: Cannot find name 's'.
~
!!! error TS1005: ']' expected.
2015-02-04 00:52:06 +01:00
~~~~~~
!!! error TS2304: Cannot find name 'symbol'.
2015-01-26 23:34:22 +01:00
~
!!! error TS1005: ',' expected.
~
!!! error TS1136: Property assignment expected.
}
~
!!! error TS1005: ':' expected.