-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't look for offsets from constants
This introduces an infinite loop with the solver pipeline. i.e. when we have: [G] x :: KnownNat 10 [W] KnownNat 4 we would produce solved: x - y :: KnownNat 4 New wanted: y :: KnownNat 6 Then we would go to: [G] x :: KnownNat 10 [W] KnownNat 6 and solve as: solved: x - y :: KnownNat 6 new wanted: y :: KnownNat 4 And cycle.... Found when upgrading https://github.com/bittide/bittide-hardware/ to GHC 9.4. But it's hard to create a small reproducer, so there is no regression test.
- Loading branch information
1 parent
8277741
commit 9397e75
Showing
4 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters