Open georgeians opened 9 months ago
Describe the bug:
The program gets stuck in a infinite loop
Config and Small code sample
Config:
{ target: "node", preset: "high" }
Code:
console.log("My Small Code Sample");
Expected behavior
The program should output "My Small Code Sample"
Actual behavior
The program stalls forever and never outputs anything
Additional context
Seems the program gets stuck in a infinite loop due to Control Flow Flattening. Disabling the feature seems to rid of the bug.
Can not reproduce on https://js-confuser.com
Also the title of the issue seems completely unrelated? Which one is it, an SyntaxError or infinite loop?
Describe the bug:
The program gets stuck in a infinite loop
Config and Small code sample
Config:
Code:
Expected behavior
The program should output "My Small Code Sample"
Actual behavior
The program stalls forever and never outputs anything
Additional context
Seems the program gets stuck in a infinite loop due to Control Flow Flattening. Disabling the feature seems to rid of the bug.