Skip to content

Commit

Permalink
refact(rivetc.codegen): extract utilities into a module called `cg_ut…
Browse files Browse the repository at this point in the history
…ils`
  • Loading branch information
StunxFS committed Dec 4, 2023
1 parent cd5c026 commit caba9ad
Show file tree
Hide file tree
Showing 4 changed files with 172 additions and 139 deletions.
2 changes: 1 addition & 1 deletion lib/core/src/Vector.ri → lib/core/src/DynArray.ri
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ struct DynArray {
if i + size > self.len {
end_idx := if size == 1 { "..{}".fmt(i + size) } else { "" };
runtime_error(
"DynArray delete(): index out of range (i: {}..{}, self.len: {})",
"DynArray.delete(): index out of range (i: {}..{}, self.len: {})",
i, end_idx, self.len
);
}
Expand Down
Loading

0 comments on commit caba9ad

Please sign in to comment.