28 lines
618 B
TypeScript
28 lines
618 B
TypeScript
|
// @noImplicitAny: true
|
||
|
// Fixes exponential time/space in #14628
|
||
|
let x = []
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' } // previously ran out of memory here
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|
||
|
x[0] = { foo: 'hi' }
|