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/stringNamedPropertyDuplicates.ts ===
class C {
>C : Symbol(C, Decl(stringNamedPropertyDuplicates.ts, 0, 0))
"a b": number;
>"a b" : Symbol(C["a b"], Decl(stringNamedPropertyDuplicates.ts, 0, 9), Decl(stringNamedPropertyDuplicates.ts, 1, 18))
"a b": number;
>"a b" : Symbol(C["a b"], Decl(stringNamedPropertyDuplicates.ts, 0, 9), Decl(stringNamedPropertyDuplicates.ts, 1, 18))
static "c d": number;
>"c d" : Symbol(C["c d"], Decl(stringNamedPropertyDuplicates.ts, 2, 18), Decl(stringNamedPropertyDuplicates.ts, 3, 25))
static "c d": number;
>"c d" : Symbol(C["c d"], Decl(stringNamedPropertyDuplicates.ts, 2, 18), Decl(stringNamedPropertyDuplicates.ts, 3, 25))
}
interface I {
>I : Symbol(I, Decl(stringNamedPropertyDuplicates.ts, 5, 1))
"a b": number;
>"a b" : Symbol(I["a b"], Decl(stringNamedPropertyDuplicates.ts, 7, 13), Decl(stringNamedPropertyDuplicates.ts, 8, 18))
"a b": number;
>"a b" : Symbol(I["a b"], Decl(stringNamedPropertyDuplicates.ts, 7, 13), Decl(stringNamedPropertyDuplicates.ts, 8, 18))
}
var a: {
>a : Symbol(a, Decl(stringNamedPropertyDuplicates.ts, 12, 3))
"a b": number;
>"a b" : Symbol("a b", Decl(stringNamedPropertyDuplicates.ts, 12, 8), Decl(stringNamedPropertyDuplicates.ts, 13, 18))
"a b": number;
>"a b" : Symbol("a b", Decl(stringNamedPropertyDuplicates.ts, 12, 8), Decl(stringNamedPropertyDuplicates.ts, 13, 18))
}
var b = {
>b : Symbol(b, Decl(stringNamedPropertyDuplicates.ts, 17, 3))
"a b": 1
>"a b" : Symbol("a b", Decl(stringNamedPropertyDuplicates.ts, 17, 9), Decl(stringNamedPropertyDuplicates.ts, 18, 12))
"a b": 1
>"a b" : Symbol("a b", Decl(stringNamedPropertyDuplicates.ts, 17, 9), Decl(stringNamedPropertyDuplicates.ts, 18, 12))
}
|