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
Hello, opening from #1031 (comment)
When building a struct on iteration, break keep whats generated but stop iterating anymore, while continue discard whats generated but keep continuing; would it be possible to have a pass keyword or something else (its not a reference to python, I think pass do something else there?) avoiding using match with (value): $=$;
My data have opcodes and sometimes they don't have values associated, I could use if statements but match is cleaner, perhaps there are other ways that I'm unaware of ?
Also I might add match could be unsuited for what I'm trying to achieve, the program do a weird escape if it stumble tree times on a set of value like so: (0x24 ... 0x26):if (matchOut == 3) break; else matchOut +=1; but this doesn't discard data as continue does lol
Thank you very much
How will this feature be useful to you and others?
e
Request Type
I can provide a PoC for this feature or am willing to work on it myself and submit a PR
Additional context?
Are there any plans to add [[color]] to enums value ?
The text was updated successfully, but these errors were encountered:
What feature would you like to see?
Hello, opening from #1031 (comment)
When building a struct on iteration,
break
keep whats generated but stop iterating anymore, while continue discard whats generated but keep continuing; would it be possible to have apass
keyword or something else (its not a reference to python, I think pass do something else there?) avoiding using match with(value): $=$;
My data have opcodes and sometimes they don't have values associated, I could use if statements but match is cleaner, perhaps there are other ways that I'm unaware of ?
Also I might add match could be unsuited for what I'm trying to achieve, the program do a weird escape if it stumble tree times on a set of value like so:
(0x24 ... 0x26):if (matchOut == 3) break; else matchOut +=1;
but this doesn't discard data as continue does lolThank you very much
How will this feature be useful to you and others?
e
Request Type
Additional context?
Are there any plans to add [[color]] to enums value ?
The text was updated successfully, but these errors were encountered: