saw lets me write this: typedef x = { foo: Int, bar: x }; and it seems like it probably shouldn't.
Also, you can introduce fresh universally-quantified type variables just by mentioning them: typedef x = a;, and that doesn't seem entirely desirable either.
I haven't been able to get it to do anything unsound with either of these even after prodding it for a while, but it's definitely possible I just haven't tried hard enough.
saw lets me write this:
typedef x = { foo: Int, bar: x };
and it seems like it probably shouldn't.Also, you can introduce fresh universally-quantified type variables just by mentioning them:
typedef x = a;
, and that doesn't seem entirely desirable either.I haven't been able to get it to do anything unsound with either of these even after prodding it for a while, but it's definitely possible I just haven't tried hard enough.