aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/golang.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compilers/golang.ts')
-rw-r--r--lib/compilers/golang.ts2
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