2014-11-15 00:44:06 +01:00
|
|
|
tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.ts(3,20): error TS1005: ':' expected.
|
|
|
|
tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.ts(4,7): error TS1005: ':' expected.
|
|
|
|
tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.ts(5,10): error TS1005: '(' expected.
|
|
|
|
tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.ts(6,10): error TS1005: '(' expected.
|
|
|
|
tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.ts(7,9): error TS1005: ':' expected.
|
|
|
|
tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.ts(8,10): error TS1005: ':' expected.
|
|
|
|
tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.ts(9,8): error TS1005: ':' expected.
|
|
|
|
tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.ts(10,10): error TS1005: ':' expected.
|
|
|
|
tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.ts(12,1): error TS1005: ':' expected.
|
2014-12-17 00:56:56 +01:00
|
|
|
tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.ts(15,5): error TS2300: Duplicate identifier 'a'.
|
2014-11-19 01:15:04 +01:00
|
|
|
tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.ts(15,6): error TS1005: ':' expected.
|
2014-12-17 00:56:56 +01:00
|
|
|
tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.ts(16,5): error TS2300: Duplicate identifier 'a'.
|
2014-11-19 01:15:04 +01:00
|
|
|
tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.ts(16,6): error TS1005: ':' expected.
|
2014-12-17 00:56:56 +01:00
|
|
|
tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.ts(17,5): error TS2300: Duplicate identifier 'a'.
|
2014-11-19 01:15:04 +01:00
|
|
|
tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.ts(17,6): error TS1005: ':' expected.
|
2014-11-15 01:30:03 +01:00
|
|
|
tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.ts(20,17): error TS1005: ':' expected.
|
2014-11-11 20:31:45 +01:00
|
|
|
|
|
|
|
|
2014-11-20 07:15:32 +01:00
|
|
|
==== tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.ts (16 errors) ====
|
2014-11-11 20:31:45 +01:00
|
|
|
// errors
|
|
|
|
var y = {
|
|
|
|
"stringLiteral",
|
|
|
|
~
|
|
|
|
!!! error TS1005: ':' expected.
|
|
|
|
42,
|
|
|
|
~
|
|
|
|
!!! error TS1005: ':' expected.
|
|
|
|
get e,
|
|
|
|
~
|
|
|
|
!!! error TS1005: '(' expected.
|
|
|
|
set f,
|
|
|
|
~
|
|
|
|
!!! error TS1005: '(' expected.
|
|
|
|
this,
|
|
|
|
~
|
|
|
|
!!! error TS1005: ':' expected.
|
|
|
|
super,
|
|
|
|
~
|
|
|
|
!!! error TS1005: ':' expected.
|
|
|
|
var,
|
|
|
|
~
|
|
|
|
!!! error TS1005: ':' expected.
|
|
|
|
class,
|
|
|
|
~
|
|
|
|
!!! error TS1005: ':' expected.
|
|
|
|
typeof
|
|
|
|
};
|
|
|
|
~
|
|
|
|
!!! error TS1005: ':' expected.
|
|
|
|
|
|
|
|
var x = {
|
|
|
|
a.b,
|
|
|
|
~
|
|
|
|
!!! error TS2300: Duplicate identifier 'a'.
|
|
|
|
~
|
2014-11-19 01:15:04 +01:00
|
|
|
!!! error TS1005: ':' expected.
|
2014-12-17 00:56:56 +01:00
|
|
|
a["ss"],
|
2014-11-11 20:31:45 +01:00
|
|
|
~
|
|
|
|
!!! error TS2300: Duplicate identifier 'a'.
|
|
|
|
~
|
2014-11-19 01:15:04 +01:00
|
|
|
!!! error TS1005: ':' expected.
|
2014-12-17 00:56:56 +01:00
|
|
|
a[1],
|
2014-11-19 01:15:04 +01:00
|
|
|
~
|
|
|
|
!!! error TS2300: Duplicate identifier 'a'.
|
2014-12-17 00:56:56 +01:00
|
|
|
~
|
|
|
|
!!! error TS1005: ':' expected.
|
2014-11-11 20:31:45 +01:00
|
|
|
};
|
2014-11-15 01:30:03 +01:00
|
|
|
|
|
|
|
var v = { class }; // error
|
|
|
|
~
|
|
|
|
!!! error TS1005: ':' expected.
|