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
uses rhs_elts[0], when the indices that correspond to the starred section are rhs_elts[le:rs]. Not sure whether we should pass the whole range or one element; in many cases all rhs_elts are the same but not if the RHS is a literal tuple.
I played around with many test cases here and couldn't make a program that produced the wrong answer, so I suspect the value here is not used per se - perhaps only for debugging information or something like that?
The text was updated successfully, but these errors were encountered:
guppylang/guppylang/checker/stmt_checker.py
Line 222 in 634e241
uses
rhs_elts[0]
, when the indices that correspond to thestarred
section arerhs_elts[le:rs]
. Not sure whether we should pass the whole range or one element; in many cases allrhs_elts
are the same but not if the RHS is a literal tuple.I played around with many test cases here and couldn't make a program that produced the wrong answer, so I suspect the value here is not used per se - perhaps only for debugging information or something like that?
The text was updated successfully, but these errors were encountered: