-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify the commandValue partial template. (#11499)
The complexity around ignore=true in commandValue was to handle the difference between recursive calls (which have the full name of the value we are trying to set) and the initial call (which just had the struct the value was in, and needed to tack on ".memberName" to get the actual place to store the value). This change gets rid of all the ignore=false codepaths, and changes the one toplevel entry site that used them to add the struct member name itself.
- Loading branch information
1 parent
0eed39a
commit 4906433
Showing
2 changed files
with
10 additions
and
22 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