web-maker icon indicating copy to clipboard operation
web-maker copied to clipboard

Infinite loop in PUG preprocessing

Open zombiegh0st opened this issue 6 years ago • 1 comments

Typing a for loop end up in infinite loop due to auto refresh at - for (i=0; i<5; ) I think because there is no i++ it cause an infinite loop.

zombiegh0st avatar Mar 09 '18 12:03 zombiegh0st

Yes. That's the reason. And currently pug code isn't instrumented in Web Maker to prevent such infinite loops.

chinchang avatar Mar 11 '18 10:03 chinchang