diff options
author | 2021-05-28 13:34:02 -0700 | |
---|---|---|
committer | 2021-05-28 13:34:02 -0700 | |
commit | a16a5c209ce6136ea10e842627a846fe4cd18420 (patch) | |
tree | 1767aedd17d772d8f9b8ca6ac8675b228d0a0beb /src | |
parent | 494177773fb74f8c7623c1d7acf92962f7d345ad (diff) | |
download | bun-a16a5c209ce6136ea10e842627a846fe4cd18420.tar.gz bun-a16a5c209ce6136ea10e842627a846fe4cd18420.tar.zst bun-a16a5c209ce6136ea10e842627a846fe4cd18420.zip |
typo
Former-commit-id: 4e1619c17a080718e5ac7652506c0d2c8d12ad50
Diffstat (limited to 'src')
-rw-r--r-- | src/js_parser/js_parser.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js_parser/js_parser.zig b/src/js_parser/js_parser.zig index 21c045fe8..8338e5201 100644 --- a/src/js_parser/js_parser.zig +++ b/src/js_parser/js_parser.zig @@ -5857,7 +5857,7 @@ pub const P = struct { // Add a "_" to make tests easier to read, since non-bundler tests don't // run the renamer. For external-facing things the renamer will avoid // collisions automatically so this isn't important for correctness. - arg_ref = p.newSymbol(.hoisted, strings.cat(p.allocator, "+", name_text) catch unreachable) catch unreachable; + arg_ref = p.newSymbol(.hoisted, strings.cat(p.allocator, "_", name_text) catch unreachable) catch unreachable; p.current_scope.generated.append(arg_ref) catch unreachable; } else { arg_ref = p.declareSymbol(.hoisted, name_loc, name_text) catch unreachable; |