2015-02-03 02:19:27 +01:00
|
|
|
=== tests/cases/conformance/es6/Symbols/symbolProperty50.ts ===
|
|
|
|
module M {
|
2015-04-16 01:44:20 +02:00
|
|
|
>M : typeof M
|
2015-02-03 02:19:27 +01:00
|
|
|
|
|
|
|
interface Symbol { }
|
2015-04-16 01:44:20 +02:00
|
|
|
>Symbol : Symbol
|
2015-02-03 02:19:27 +01:00
|
|
|
|
|
|
|
class C {
|
2015-04-16 01:44:20 +02:00
|
|
|
>C : C
|
2015-02-03 02:19:27 +01:00
|
|
|
|
|
|
|
[Symbol.iterator]() { }
|
2015-04-16 01:44:20 +02:00
|
|
|
>Symbol.iterator : symbol
|
|
|
|
>Symbol : SymbolConstructor
|
|
|
|
>iterator : symbol
|
2015-02-03 02:19:27 +01:00
|
|
|
}
|
|
|
|
}
|