forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
An iterator over OptionValueContainer keys.
Yields exactly one key per option. If multiple keys point to the same value (because the underlying option was registered with multiple names), only yields one of them. Also fixes a minor bug with inverse dest mapping computation. That computation must properly be done only after all options have been registered, so it's not confounded by options on inner scopes that shadow names in outer scopes. Testing Done: CI in flight here: https://travis-ci.org/pantsbuild/pants/builds/70813876 Reviewed at https://rbcommons.com/s/twitter/r/2472/
- Loading branch information
Showing
3 changed files
with
42 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
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