13 lines
264 B
Text
13 lines
264 B
Text
=== 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 : X
|
|
>'__proto__' : string
|
|
>null : null
|
|
}
|
|
}
|