-
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change require tidying to work on full file syntax
Now require tidying always happens for all modules. The trim-requires and base-requires commands still work only on the file's root module, because the analysis only works for that module. As a result of this change, the front end no longer needs to gather and supply a list of require forms. Instead it always just supplies a pathname. The back end commands return a list of changes -- deletions and replacements -- for the front end to make to the file/buffer. This seems like a cleaner and more appropriate division of labor.
- Loading branch information
1 parent
86caa37
commit 9e357bb
Showing
3 changed files
with
183 additions
and
191 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
Oops, something went wrong.