Self-referencing distinct will cause the compiler to hang
alaviss opened this issue · comments
Example
type Id = distinct Id
Actual Output
The compiler stuck at 100% CPU usage
Expected Output
Some errors about self-referencing
Here are talks about a potential fix in chat:
The linked PR fixed the bug -- an illegal recursion in type 'Id'
error is now reported.