2015-04-16 01:44:20 +02:00
|
|
|
=== tests/cases/conformance/es6/Symbols/symbolProperty27.ts ===
|
|
|
|
class C1 {
|
|
|
|
>C1 : Symbol(C1, Decl(symbolProperty27.ts, 0, 0))
|
|
|
|
|
|
|
|
[Symbol.toStringTag]() {
|
2015-05-08 03:30:38 +02:00
|
|
|
>Symbol.toStringTag : Symbol(SymbolConstructor.toStringTag, Decl(lib.d.ts, 1290, 24))
|
|
|
|
>Symbol : Symbol(Symbol, Decl(lib.d.ts, 1198, 53), Decl(lib.d.ts, 1304, 11))
|
|
|
|
>toStringTag : Symbol(SymbolConstructor.toStringTag, Decl(lib.d.ts, 1290, 24))
|
2015-04-16 01:44:20 +02:00
|
|
|
|
|
|
|
return {};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class C2 extends C1 {
|
|
|
|
>C2 : Symbol(C2, Decl(symbolProperty27.ts, 4, 1))
|
|
|
|
>C1 : Symbol(C1, Decl(symbolProperty27.ts, 0, 0))
|
|
|
|
|
|
|
|
[Symbol.toStringTag]() {
|
2015-05-08 03:30:38 +02:00
|
|
|
>Symbol.toStringTag : Symbol(SymbolConstructor.toStringTag, Decl(lib.d.ts, 1290, 24))
|
|
|
|
>Symbol : Symbol(Symbol, Decl(lib.d.ts, 1198, 53), Decl(lib.d.ts, 1304, 11))
|
|
|
|
>toStringTag : Symbol(SymbolConstructor.toStringTag, Decl(lib.d.ts, 1290, 24))
|
2015-04-16 01:44:20 +02:00
|
|
|
|
|
|
|
return "";
|
|
|
|
}
|
|
|
|
}
|