Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix calls to TreeScanner.scan(TreePath, param).
This is probably not what was intended: because TreePath implements Iterable<Tree>, this will scan from all nodes in the TreePath. It don't think this is a problem in either case, because they only look to be called with a path referring to a CompilationUnitTree; but this is a bit brittle. (An alternative fix would be to make these scanners into TreePathScanners. That TreeScanner and TreePathScanner do very different things with a TreePath parameter is quite insidious. RELNOTES: None ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=228960415
- Loading branch information
1 parent
5e5912a
commit 1a5c9d8
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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 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