Former-commit-id: 096ec1222ad723d006b0151f10cb0c1b95e2bfd3
This commit is contained in:
Jarred Sumner
2021-08-29 21:48:14 -07:00
parent 34792c15f1
commit bd9f137b1b
27 changed files with 2851 additions and 2263 deletions

View File

@@ -122,7 +122,7 @@ pub const NodeModuleBundle = struct {
// Assert we have enough room to add another package
std.debug.assert(end < remaining_names.len);
entry.value_ptr.* = prev_package_ids_for_name.ptr[0..end];
entry.value_ptr.*[end] = package_id;
entry.value_ptr.*[end - 1] = package_id;
} else {
prev_package_ids_for_name = remaining_names[0..1];
prev_package_ids_for_name[0] = package_id;