Closed erikvansebille closed 2 years ago
Actually, nested if-loops seem to be working fine. There was already a unit-test (see below) that has been working fine since #538, more than three years ago
So not sure why @VeckoTheGecko experiences breaking nested if-statements. Could you provide a minimal breaking example code?
I've noted down the commit in my workspace, but a bit time poor to provide a minimal example. Will look at it at a later date and followup.
As reported by @VeckoTheGecko in #1232, it seems nested if-loops are not always correctly parsed in the
codeconverter.py
. Would be good to either fix this; or to throw a warning if Kernels contain nested if-loops