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
The function says return a list of values but erroneously return a tuple. Could someone take a look and also consider if returning {ok, Vs} is better than Vs? Thanks.
The text was updated successfully, but these errors were encountered:
Clearly, the code returns either a tuple or undefined, and this has been true for a long time — I traced the list_to_tuple call back over a decade, and the comment and the list_to_tuple call have been there together for quite awhile. Changing the return value now would likely break user code, so I won't change that, but I'll change the comment.
The function says return a list of values but erroneously return a tuple. Could someone take a look and also consider if returning
{ok, Vs}
is better thanVs
? Thanks.The text was updated successfully, but these errors were encountered: