Skip to content

Commit

Permalink
Reset state
Browse files Browse the repository at this point in the history
  • Loading branch information
alrz committed Feb 26, 2024
1 parent 2a6d538 commit 9ed6e9d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3041,7 +3041,9 @@ public override BoundNode VisitConditionalReceiver(BoundConditionalReceiver node

public override BoundNode VisitLoweredIsPatternExpression(BoundLoweredIsPatternExpression node)
{
var savedState = this.State.Clone();
VisitStatements(node.Statements);
this.State = savedState;
return null;
}

Expand Down

0 comments on commit 9ed6e9d

Please sign in to comment.