We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec92835 + e76be9e commit abf520fCopy full SHA for abf520f
lib/SILOptimizer/Utils/Differentiation/Common.cpp
@@ -357,7 +357,7 @@ SILDifferentiabilityWitness *getOrCreateMinimalASTDifferentiabilityWitness(
357
if (!minimalConfig)
358
return nullptr;
359
360
- std::string originalName = original->getName();
+ std::string originalName = original->getName().str();
361
// If original function requires a foreign entry point, use the foreign SIL
362
// function to get or create the minimal differentiability witness.
363
if (requiresForeignEntryPoint(originalAFD)) {
0 commit comments