-
Notifications
You must be signed in to change notification settings - Fork 184
Recursive solver #372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Recursive solver #372
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
126bf6f
Add back the code for the recursive solver (not yet building)
flodiebold 9bb94d1
Getting past name resolution errors
flodiebold 6fc0808
Fix many errors
flodiebold b10ae55
Fix more errors
flodiebold d9e1a55
Fix another error
flodiebold 22bfbc0
Fix another error
flodiebold 8209476
Fix the next error, method resolution succeeds
flodiebold 311eb33
Fix remaining errors
flodiebold 298c3b9
Add recursive solver to SolverChoice
flodiebold d3267cf
Temporary: Use recursive solver by default in tests
flodiebold 52dc02a
Delete unused file
flodiebold faae7fd
Fix dyn_Foo_Bar failure
flodiebold 30fe8c5
Clause priorities (WIP)
flodiebold 64c9215
Disable currently non-existent caching
flodiebold 9ee8178
Check for input equality
flodiebold 27bc264
Ignore tests currently overflowing/infinitely looping (REMOVE AGAIN)
flodiebold 47a473c
Projection equality test is fixed
flodiebold 9c27db6
Sort constraints in tests
flodiebold fa6dd01
Implement floundering for too-general goals, like the SLG solver
flodiebold a81d345
Truncate goals like in the SLG solver
flodiebold d8ed629
Revert "Ignore tests currently overflowing/infinitely looping (REMOVE…
flodiebold 3e8c1ae
Add back the old caching for now
flodiebold de95b37
Keep track of clause priority for longer to avoid infinite loop
flodiebold 9ab02e2
Flounder for AliasEq with unspecific self type as well
flodiebold e661d85
Rebase fixes
flodiebold 7e48a62
Truncate when adding obligations to avoid messing up the progress ass…
flodiebold 04b57da
Rebase fixes
flodiebold b1453e5
Undo floundering for AliasEq, it's not the right approach
flodiebold 3a074e4
Move floundering logic to program_clauses
flodiebold ea15431
Run tests with both solvers by default
flodiebold 62b0da6
Fix futures_ambiguity test
flodiebold 9374586
Make program_clauses_for_env add the actual env clauses as well
flodiebold 27f9ef7
Rebase fixes
flodiebold 60b3892
Use Floundered error in program_clauses
flodiebold 835fa68
Make the prioritization code slightly nicer
flodiebold 9166f3e
Add another test
flodiebold 2d193f3
Move generalizer to its own module
flodiebold d69da2f
Add back Normalize floundering
flodiebold 31d6f2a
Increase hard-coded max size to 30
flodiebold f6c1623
Add some more tests
flodiebold 0abdef9
Don't inherit clause priority in implications
flodiebold 2316ca6
Remove AliasTy::type_parameters
flodiebold 8fcad2f
Address some review comments
flodiebold 5768375
ensure all tests run for recursive solve
nikomatsakis 13b66f1
don't silently ignore recursive solver
nikomatsakis 72be500
Move recursive module from mod.rs to recursive.rs
flodiebold a952c87
add some more projection tests
nikomatsakis 77f262f
Rebase fixes; flounder instead of truncating, like SLG
flodiebold b032df6
Use combine_with_priorities when combining answers from cycles as well
flodiebold 2aa90be
cite chalk#399 in the fixme
nikomatsakis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.