Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Description ## Problem\* ## Summary\* Fixes two issues: 1. Our `occurs` check did not check the type variable ids at each step. So if the same type variable is in the middle of several bindings, we could miss it and bind anyway, creating a cycle. 2. `force_bind` should still do an `occurs` check ## Additional Context ## Documentation\* Check one: - [x] No documentation needed. - [ ] Documentation included in this PR. - [ ] **[For Experimental Features]** Documentation to be submitted in a separate PR. # PR Checklist\* - [x] I have tested the changes locally. - [x] I have formatted the changes with [Prettier](https://prettier.io/) and/or `cargo fmt` on default settings.
- Loading branch information