This change fixes the issue that an AnyDictionary in metadata cannot be match to any entry in the function_map in Apple Silicon (ARM) build, because typeid() returns different addresses for AnyDictionary.
It ends up being unknown and values cannot be read in the application code.
Without the fix, the test case fails in Xcode, even though swift test doesn't fail from the command line.
This change fixes the issue that an
AnyDictionary
inmetadata
cannot be match to any entry in thefunction_map
in Apple Silicon (ARM) build, because typeid() returns different addresses forAnyDictionary
.It ends up being unknown and values cannot be read in the application code.
Without the fix, the test case fails in Xcode, even though
swift test
doesn't fail from the command line.