TypeScript/tests/baselines/reference/protoInIndexer.types
2016-09-01 14:25:44 -07:00

14 lines
273 B
Plaintext

=== tests/cases/compiler/protoInIndexer.ts ===
class X {
>X : X
constructor() {
this['__proto__'] = null; // used to cause ICE
>this['__proto__'] = null : null
>this['__proto__'] : any
>this : this
>'__proto__' : "___proto__"
>null : null
}
}