tests/cases/compiler/duplicateObjectLiteralProperty_computedName.ts(3,5): error TS1117: An object literal cannot have multiple properties with the same name.
tests/cases/compiler/duplicateObjectLiteralProperty_computedName.ts(8,5): error TS1117: An object literal cannot have multiple properties with the same name.
tests/cases/compiler/duplicateObjectLiteralProperty_computedName.ts(13,5): error TS1117: An object literal cannot have multiple properties with the same name.
tests/cases/compiler/duplicateObjectLiteralProperty_computedName.ts(23,5): error TS1117: An object literal cannot have multiple properties with the same name.
tests/cases/compiler/duplicateObjectLiteralProperty_computedName.ts(28,5): error TS1117: An object literal cannot have multiple properties with the same name.
tests/cases/compiler/duplicateObjectLiteralProperty_computedName.ts(33,5): error TS1117: An object literal cannot have multiple properties with the same name.


==== tests/cases/compiler/duplicateObjectLiteralProperty_computedName.ts (6 errors) ====
    const t1 = {
        1: 1,
        [1]: 0 // duplicate
        ~~~
!!! error TS1117: An object literal cannot have multiple properties with the same name.
    }
    
    const t2 = {
        1: 1,
        [+1]: 0 // duplicate
        ~~~~
!!! error TS1117: An object literal cannot have multiple properties with the same name.
    }
    
    const t3 = {
        "1": 1,
        [+1]: 0 // duplicate
        ~~~~
!!! error TS1117: An object literal cannot have multiple properties with the same name.
    }
    
    const t4 = {
        "+1": 1,
        [+1]: 0 // two different keys, "+1", "1"
    }
    
    const t5 = {
        "+1": 1,
        ["+1"]: 0 // duplicate
        ~~~~~~
!!! error TS1117: An object literal cannot have multiple properties with the same name.
    }
    
    const t6 = {
        "-1": 1,
        [-1]: 0 // duplicate
        ~~~~
!!! error TS1117: An object literal cannot have multiple properties with the same name.
    }
    
    const t7 = {
        "-1": 1,
        ["-1"]: 0 // duplicate
        ~~~~~~
!!! error TS1117: An object literal cannot have multiple properties with the same name.
    }
    