You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switch statements that use an anonymous function (specifically with curly brackets) within a case will prevent any subsequent cases from being compiled. Since it needs curly brackets for it to bug, it seems like it's an error in the parser picking up the curly bracket to end the switch when it shouldn't.
To Reproduce
Create a switch statement in any .jmc file.
Use an anonymous execute function within a case that uses curly brackets. Any following cases will be ignored by the compiler.
Screenshots
JMC code:
Transpiled result:
Desktop
Windows 10
The text was updated successfully, but these errors were encountered:
Describe the bug
Switch statements that use an anonymous function (specifically with curly brackets) within a case will prevent any subsequent cases from being compiled. Since it needs curly brackets for it to bug, it seems like it's an error in the parser picking up the curly bracket to end the
switch
when it shouldn't.To Reproduce
switch
statement in any.jmc
file.execute
function within a case that uses curly brackets. Any following cases will be ignored by the compiler.Screenshots
JMC code:
Transpiled result:
Desktop
The text was updated successfully, but these errors were encountered: