TypeScript/tests/cases/compiler/noImplicitAnyLoopCrash.ts

7 lines
97 B
TypeScript
Raw Normal View History

2019-04-24 20:35:18 +02:00
// @noImplicitAny: true
let foo = () => {};
let bar;
while (1) {
bar = ~foo(...bar);
}