-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scrooge-generator: Add a warning when it's ambiguous which file scroo…
…ge should look at Problem Some customers were confused by the exception that Scrooge threw when it saw two files with the same name on the include path. Solution Add a warning for when there are two importers that can both find a file that's being included in a Scrooge IDL file. In addition, deduplicate importers to simplify this implementation and make resolving filenames more efficient. Result There's now a warning when there are two files on the include path with the same name. This might help catch issues before they become a problem. JIRA Issues: CSL-9525 Differential Revision: https://phabricator.twitter.biz/D453784
- Loading branch information
Showing
1 changed file
with
75 additions
and
15 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