JSTQL-JS-Transform/output_testing/478issue933-disjoint-set-infinite-loop.js

8 lines
170 B
JavaScript
Raw Normal View History

// This caused an infinite loop in the compiler
function MyApp(props) {
const y = makeObj();
const tmp = y.a;
const tmp2 = tmp.b;
tmp2 |> y.push(%);
return y;
}