-
Notifications
You must be signed in to change notification settings - Fork 427
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
chore: collectForwardDeps
returns only free variables, not metavars
#6088
base: master
Are you sure you want to change the base?
Conversation
Mathlib CI status (docs):
|
I’ll leave others to review this (but looks good if it’s really dead code). Could you maybe leave |
15cfa4f
to
9a1e573
Compare
Ok, I've added |
This PR removes some unreachable code that acts as if
collectForwardDeps
could return metavariables. This confusing code was first added in commit 50ae170. And then to explain this, in #1625 it was explicitly documented thatcollectForwardDeps
could return metavariables.So I removed the metavariable handling in the functions that are only run on the result of
collectForwardDeps
.It may also be a bug that no metavariables can reach this code, but in that case there should be a TODO.