When comparing ASTs / getting nodes (used in PCMap building in ape-vyper), if the length is 0 and the other is None, it really is the same thing .However, the comparison would fail and we would fail to find the source and it would cause all sorts of problems...
How I did it
How to verify it
Checklist
[ ] Passes all linting checks (pre-commit and CI jobs)
[ ] New test cases have been added and are passing
[ ] Documentation has been updated
[ ] PR title follows Conventional Commit standard (will be automatically included in the changelog)
What I did
When comparing ASTs / getting nodes (used in PCMap building in
ape-vyper
), if the length is 0 and the other is None, it really is the same thing .However, the comparison would fail and we would fail to find the source and it would cause all sorts of problems...How I did it
How to verify it
Checklist