22 lines
1.1 KiB
Text
22 lines
1.1 KiB
Text
=== tests/cases/conformance/es6/Symbols/symbolDeclarationEmit3.ts ===
|
|
class C {
|
|
>C : Symbol(C, Decl(symbolDeclarationEmit3.ts, 0, 0))
|
|
|
|
[Symbol.toPrimitive](x: number);
|
|
>Symbol.toPrimitive : Symbol(SymbolConstructor.toPrimitive, Decl(lib.d.ts, 1272, 18))
|
|
>Symbol : Symbol(Symbol, Decl(lib.d.ts, 1186, 52), Decl(lib.d.ts, 1292, 11))
|
|
>toPrimitive : Symbol(SymbolConstructor.toPrimitive, Decl(lib.d.ts, 1272, 18))
|
|
>x : Symbol(x, Decl(symbolDeclarationEmit3.ts, 1, 25))
|
|
|
|
[Symbol.toPrimitive](x: string);
|
|
>Symbol.toPrimitive : Symbol(SymbolConstructor.toPrimitive, Decl(lib.d.ts, 1272, 18))
|
|
>Symbol : Symbol(Symbol, Decl(lib.d.ts, 1186, 52), Decl(lib.d.ts, 1292, 11))
|
|
>toPrimitive : Symbol(SymbolConstructor.toPrimitive, Decl(lib.d.ts, 1272, 18))
|
|
>x : Symbol(x, Decl(symbolDeclarationEmit3.ts, 2, 25))
|
|
|
|
[Symbol.toPrimitive](x: any) { }
|
|
>Symbol.toPrimitive : Symbol(SymbolConstructor.toPrimitive, Decl(lib.d.ts, 1272, 18))
|
|
>Symbol : Symbol(Symbol, Decl(lib.d.ts, 1186, 52), Decl(lib.d.ts, 1292, 11))
|
|
>toPrimitive : Symbol(SymbolConstructor.toPrimitive, Decl(lib.d.ts, 1272, 18))
|
|
>x : Symbol(x, Decl(symbolDeclarationEmit3.ts, 3, 25))
|
|
}
|