25 lines
873 B
Text
25 lines
873 B
Text
=== tests/cases/conformance/es6/Symbols/symbolProperty26.ts ===
|
|
class C1 {
|
|
>C1 : Symbol(C1, Decl(symbolProperty26.ts, 0, 0))
|
|
|
|
[Symbol.toStringTag]() {
|
|
>Symbol.toStringTag : Symbol(SymbolConstructor.toStringTag, Decl(lib.d.ts, 1278, 24))
|
|
>Symbol : Symbol(Symbol, Decl(lib.d.ts, 1186, 52), Decl(lib.d.ts, 1292, 11))
|
|
>toStringTag : Symbol(SymbolConstructor.toStringTag, Decl(lib.d.ts, 1278, 24))
|
|
|
|
return "";
|
|
}
|
|
}
|
|
|
|
class C2 extends C1 {
|
|
>C2 : Symbol(C2, Decl(symbolProperty26.ts, 4, 1))
|
|
>C1 : Symbol(C1, Decl(symbolProperty26.ts, 0, 0))
|
|
|
|
[Symbol.toStringTag]() {
|
|
>Symbol.toStringTag : Symbol(SymbolConstructor.toStringTag, Decl(lib.d.ts, 1278, 24))
|
|
>Symbol : Symbol(Symbol, Decl(lib.d.ts, 1186, 52), Decl(lib.d.ts, 1292, 11))
|
|
>toStringTag : Symbol(SymbolConstructor.toStringTag, Decl(lib.d.ts, 1278, 24))
|
|
|
|
return "";
|
|
}
|
|
}
|