This commit is contained in:
Jarred Sumner
2023-01-03 19:34:58 -08:00
parent c99059db9f
commit 7df50add99

View File

@@ -3538,7 +3538,7 @@ pub fn NewPrinter(
// we need to handle symbol collisions for this
p.print("$eXp0rT_");
var buf: [16]u8 = undefined;
p.print(std.fmt.bufPrint(&buf, "{}", .{std.fmt.fmtSliceHexLower(&@bitCast([4]u8, symbol_counter))}) catch unreachable);
p.print(std.fmt.bufPrint(&buf, "{}", .{bun.fmt.hexIntLower(symbol_counter)}) catch unreachable);
symbol_counter +|= 1;
p.printWhitespacer(ws(" as "));
p.print(item.alias);