Skip to content

Commit

Permalink
fix a primitive parsing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikalii committed Nov 2, 2023
1 parent f9958bd commit d56728d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/primitive/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ impl Primitive {
let mut end = indices.len();
'outer: loop {
if end == 0 {
prims.reverse();
return Some(prims);
}
let end_index = indices[end - 1];
Expand Down

0 comments on commit d56728d

Please sign in to comment.