Skip to content

Commit

Permalink
prefix- and postfix increment have different semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
akiraveliara committed Sep 25, 2023
1 parent 9b4f234 commit c81ef20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bundles/ValueCollections/ValueStack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ T item
return false;
}

this.items[++count] = item;
this.items[count++] = item;
return true;
}

Expand Down

0 comments on commit c81ef20

Please sign in to comment.