1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
=== tests/cases/conformance/types/objectTypeLiteral/propertySignatures/numericNamedPropertyDuplicates.ts ===
class C {
>C : Symbol(C, Decl(numericNamedPropertyDuplicates.ts, 0, 0))
1: number;
>1 : Symbol(C[1], Decl(numericNamedPropertyDuplicates.ts, 0, 9), Decl(numericNamedPropertyDuplicates.ts, 1, 14))
1.0: number;
>1.0 : Symbol(C[1], Decl(numericNamedPropertyDuplicates.ts, 0, 9), Decl(numericNamedPropertyDuplicates.ts, 1, 14))
static 2: number;
>2 : Symbol(C[2], Decl(numericNamedPropertyDuplicates.ts, 2, 16), Decl(numericNamedPropertyDuplicates.ts, 3, 21))
static 2: number;
>2 : Symbol(C[2], Decl(numericNamedPropertyDuplicates.ts, 2, 16), Decl(numericNamedPropertyDuplicates.ts, 3, 21))
}
interface I {
>I : Symbol(I, Decl(numericNamedPropertyDuplicates.ts, 5, 1))
2: number;
>2 : Symbol(I[2], Decl(numericNamedPropertyDuplicates.ts, 7, 13), Decl(numericNamedPropertyDuplicates.ts, 8, 14))
2.: number;
>2. : Symbol(I[2], Decl(numericNamedPropertyDuplicates.ts, 7, 13), Decl(numericNamedPropertyDuplicates.ts, 8, 14))
}
var a: {
>a : Symbol(a, Decl(numericNamedPropertyDuplicates.ts, 12, 3))
1: number;
>1 : Symbol(1, Decl(numericNamedPropertyDuplicates.ts, 12, 8), Decl(numericNamedPropertyDuplicates.ts, 13, 14))
1: number;
>1 : Symbol(1, Decl(numericNamedPropertyDuplicates.ts, 12, 8), Decl(numericNamedPropertyDuplicates.ts, 13, 14))
}
var b = {
>b : Symbol(b, Decl(numericNamedPropertyDuplicates.ts, 17, 3))
2: 1
>2 : Symbol(2, Decl(numericNamedPropertyDuplicates.ts, 17, 9), Decl(numericNamedPropertyDuplicates.ts, 18, 8))
2: 1
>2 : Symbol(2, Decl(numericNamedPropertyDuplicates.ts, 17, 9), Decl(numericNamedPropertyDuplicates.ts, 18, 8))
}
|