Commit 37aaa15
committed
Don't check positions in
We used to check the positions in `findTreesMatching` and exclude trees
where the position is not source-derived. It turns out that this is
wrong, because this will exclude all trees that have been unpickled.
The correct test, checking whether the position has a zero extent, is
already done in `namedTrees`.findTreesMatching
1 parent f693e04 commit 37aaa15
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
325 | | - | |
| 324 | + | |
326 | 325 | | |
327 | 326 | | |
328 | 327 | | |
| |||
0 commit comments