Closed
Description
We can infinite loop if we try to unify e.g. T with option[T]. Fixing this requires implementing the occurs check. Off the top of my head, I can't think of any cases in which we'd actually trip this, but it's theoretically possible.
Tim thinks this may also be the cause of segfaulting on infinitely interior tags:
tag t1 {
a(int);
b(@t1);
}