Closed erik-alm closed 10 months ago
@erik-alm thank you for reporting! I've pushed a fix for this and will release a new bugfix version start of next week.
@erik-alm I just released jte 3.1.4 containing this fix. Thanks!
@casid Great! I'll check it out as soon as I'm able! Thank you!
In short:
Using more than one for-else loop in the same template causes a compilation error because a variable "__jte_for_loop_entered_1" is defined once per loop.
Pom.xml:
The error:
The template code:
The compiled class (JtesectorGenerated.java):