Open phadej opened 11 years ago
With introduction of recursive types, we can give types to recursive values as well, but they aren't handled well. Snipped below enters forever-loop:
typify.alias("rarray", "array rarray"); var arr = []; arr[0] = arr; expect(typ.check("rarray", arr).toBeTruthy();
With introduction of recursive types, we can give types to recursive values as well, but they aren't handled well. Snipped below enters forever-loop: