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
Currently this snippet will evaluate to true since we don't check Result types when determining a falsey value
if (Error("error")) {
print("AAAA");
}
It's probably worth considering marking Error<> types as falsey, then things like .success() are no longer needed, shortening some of the checks (will probably keep it though to keep compatibility)
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Is your feature request related to a problem?
Currently this snippet will evaluate to true since we don't check Result types when determining a falsey value
It's probably worth considering marking
Error<>
types as falsey, then things like.success()
are no longer needed, shortening some of the checks (will probably keep it though to keep compatibility)Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: