leanprover / lean3

Lean Theorem Prover
http://leanprover.github.io/
Apache License 2.0
2.15k stars 217 forks source link

fix(frontends/dependencies): ignore `.olean` files when listing depen… #1978

Closed cipher1024 closed 6 years ago

cipher1024 commented 6 years ago

The --deps flag failed when a .olean file existed next to its source .lean file. This fix makes Lean consider only .lean files when looking for dependences.

Pull Request Description

Ensure you have read the contribution guide before filling in a description of the pull request, regardless of whether it is complete or a work in progress. All Pull Requests should include test case(s) which demonstrates the intended behavior of a feature, or a regression test demonstrating that the fix resolves the issue.