mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 12:54:00 -05:00
Dont change original library versioninfo object (#7517)
This commit is contained in:
@@ -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[] {
|
||||
|
||||
Reference in New Issue
Block a user