TypeScript/tests/baselines/reference/stringNamedPropertyDuplicates.errors.txt
Cyrus Najmabadi f1a2e41a8a Sort diagnostics in our baseline output.
This was we don't get noisy baselines just because a different phase of the compiler reported
the diagnostic.

This helps with Yui's refactoring work to move grammar checks into the type checker.
2014-12-16 15:56:56 -08:00

57 lines
2.8 KiB
Plaintext

tests/cases/conformance/types/objectTypeLiteral/propertySignatures/stringNamedPropertyDuplicates.ts(2,5): error TS2300: Duplicate identifier '"a b"'.
tests/cases/conformance/types/objectTypeLiteral/propertySignatures/stringNamedPropertyDuplicates.ts(3,5): error TS2300: Duplicate identifier '"a b"'.
tests/cases/conformance/types/objectTypeLiteral/propertySignatures/stringNamedPropertyDuplicates.ts(4,12): error TS2300: Duplicate identifier '"c d"'.
tests/cases/conformance/types/objectTypeLiteral/propertySignatures/stringNamedPropertyDuplicates.ts(5,12): error TS2300: Duplicate identifier '"c d"'.
tests/cases/conformance/types/objectTypeLiteral/propertySignatures/stringNamedPropertyDuplicates.ts(9,5): error TS2300: Duplicate identifier '"a b"'.
tests/cases/conformance/types/objectTypeLiteral/propertySignatures/stringNamedPropertyDuplicates.ts(10,5): error TS2300: Duplicate identifier '"a b"'.
tests/cases/conformance/types/objectTypeLiteral/propertySignatures/stringNamedPropertyDuplicates.ts(14,5): error TS2300: Duplicate identifier '"a b"'.
tests/cases/conformance/types/objectTypeLiteral/propertySignatures/stringNamedPropertyDuplicates.ts(15,5): error TS2300: Duplicate identifier '"a b"'.
tests/cases/conformance/types/objectTypeLiteral/propertySignatures/stringNamedPropertyDuplicates.ts(19,5): error TS2300: Duplicate identifier '"a b"'.
tests/cases/conformance/types/objectTypeLiteral/propertySignatures/stringNamedPropertyDuplicates.ts(20,5): error TS1005: ',' expected.
tests/cases/conformance/types/objectTypeLiteral/propertySignatures/stringNamedPropertyDuplicates.ts(20,5): error TS2300: Duplicate identifier '"a b"'.
==== tests/cases/conformance/types/objectTypeLiteral/propertySignatures/stringNamedPropertyDuplicates.ts (11 errors) ====
class C {
"a b": number;
~~~~~
!!! error TS2300: Duplicate identifier '"a b"'.
"a b": number;
~~~~~
!!! error TS2300: Duplicate identifier '"a b"'.
static "c d": number;
~~~~~
!!! error TS2300: Duplicate identifier '"c d"'.
static "c d": number;
~~~~~
!!! error TS2300: Duplicate identifier '"c d"'.
}
interface I {
"a b": number;
~~~~~
!!! error TS2300: Duplicate identifier '"a b"'.
"a b": number;
~~~~~
!!! error TS2300: Duplicate identifier '"a b"'.
}
var a: {
"a b": number;
~~~~~
!!! error TS2300: Duplicate identifier '"a b"'.
"a b": number;
~~~~~
!!! error TS2300: Duplicate identifier '"a b"'.
}
var b = {
"a b": 1
~~~~~
!!! error TS2300: Duplicate identifier '"a b"'.
"a b": 1
~~~~~
!!! error TS1005: ',' expected.
~~~~~
!!! error TS2300: Duplicate identifier '"a b"'.
}