diff options
author | Patrick Quist <partouf@gmail.com> | 2024-04-16 21:26:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-16 21:26:53 +0200 |
commit | b8325cf0c62654c905ba871ab36991e10164b53b (patch) | |
tree | f86c39d4f025704a7c2df7ad978d9c7856878002 /lib/compilers/golang.ts | |
parent | 1fc1b9f7c6deab9f799884051e875f7d28c1db0f (diff) | |
download | compiler-explorer-b8325cf0c62654c905ba871ab36991e10164b53b.tar.gz compiler-explorer-b8325cf0c62654c905ba871ab36991e10164b53b.zip |
eslint root setting and fixes (#6307)gh-11409
Diffstat (limited to 'lib/compilers/golang.ts')
-rw-r--r-- | lib/compilers/golang.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/golang.ts b/lib/compilers/golang.ts index f899d0964..7a64ee614 100644 --- a/lib/compilers/golang.ts +++ b/lib/compilers/golang.ts @@ -125,7 +125,7 @@ export class GolangCompiler extends BaseCompiler { match = line.match(FUNC_RE); if (match) { // Normalize function name. - func = match[1].replace(/[()*.]+/g, '_'); + func = match[1].replaceAll(/[()*.]+/g, '_'); // It's possible for normalized function names to collide. // Keep a count of collisions per function name. Labels get |