Commit 6ada67d
committed
fix: exclude generic types from recursivity checks
Our current recursion check introduced a bug whereby generic types
receiving instances of themselves e.g. `(Trivial t)` would be identified
as recursive and generate incorrect type emissions.
For now, we simply don't consider generic types as recursive, though a
future change will add recursivity support for these types as well.1 parent 321b112 commit 6ada67d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
0 commit comments