Skip to content

Fix for multi nested if fors

Nick Curtis requested to merge arghdos/loopy:fix_for_multi_nested_if_fors into master

A small bug I found that would inappropriately pop predicates of the if_predicates_stack when a for-loop was nested within an if statement and followed by an else/elif

  • added test demonstrating bug
  • added fix

We might want to add a test of a few more nesting levels just be sure?

No rush on this

-Nick

Merge request reports

Loading