Dont change original library versioninfo object (#7517)

This commit is contained in:
Patrick Quist
2025-03-25 23:09:44 +01:00
committed by GitHub
parent c8501f5bd1
commit 6b5553d726

View File

@@ -814,8 +814,9 @@ export class BaseCompiler {
if (!result) return false;
result.name = foundLib.name;
return result;
const copiedResult = structuredClone(result);
copiedResult.name = foundLib.name;
return copiedResult;
}
protected optionsForDemangler(filters?: ParseFiltersAndOutputOptions): string[] {