Fix name for enum keys in a map holding structs by OXINARF · Pull Request #1531 · microsoft/MIEngine
When a map has enum as keys and any type of struct as values, the enum value that was used for the key would be replaced as if it was base class. As the VariableInformation class has a constructor that receives the names directly from the map, use that information to not allow the name override.
OXINARF
deleted the
enum_key_struct_value_fix
branch
This file contains hidden or 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