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
If this is implemented, it should be a toggle. The ordering of switch cases will change codegen, the "correct" ordering is going by what's in the body of the switch and then outputting which cases reach that part of the body.
This issue isn't about reordering switch cases (that would be very dangerous indeed, and we haven't found a compiler for which we need to do that), but rather about the indexing of // switch N comments, so that it goes N = 0, 1, ... and doesn't skip numbers.
Originally posted by @simonlindholm in #180 (comment)
Also fix the issue where one switch may have index
0
(and therefore no comment) even if other switches are detected later.The text was updated successfully, but these errors were encountered: