Skip to content

Commit

Permalink
fix regression
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHX authored Oct 2, 2023
1 parent c8e6af9 commit f02564b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1621,7 +1621,7 @@ public EachExpressionState(
/// <summary>
/// Indicates whether leaving the expression
/// </summary>
public Boolean IsEnd => Sequence == null && Mapping == null || i >= (Sequence?.Count ?? Mapping?.Count ?? 0);
public Boolean IsEnd => (Sequence != null || Mapping != null) && i >= (Sequence?.Count ?? Mapping?.Count ?? 0);

private int i;

Expand Down

0 comments on commit f02564b

Please sign in to comment.