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
With the original implementation, disabled variants are completely ignored during code generation. This meant that in a match statement, the disabled variant was not covered, preventing the code from being compiled. I see three options:
Ignore the disabled flag
Panic when a disabled variant is passed in
Return an Option or Result when a disabled variant could be passed in
Number 2 is currently implemented
The text was updated successfully, but these errors were encountered:
With the original implementation, disabled variants are completely ignored during code generation. This meant that in a match statement, the disabled variant was not covered, preventing the code from being compiled. I see three options:
Option
orResult
when a disabled variant could be passed inNumber 2 is currently implemented
The text was updated successfully, but these errors were encountered: