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
Great catch! I probably should have used in tuple. I'll have to have a deeper look into to see if I should remove it or fix the typo/tests but I'll fix the typo/tests.
Reading a bit on this code it does look like the correct fix here is to change the capitalization. As it stands now we're not saving the scope for any assignment that returns from a blackbox call.
I reckon this will be a bit tedious to fix since the change makes a bunch of the cfg tests fail because now they have more nodes in the CFG.
pyt/pyt/cfg/expr_visitor.py
Lines 207 to 209 in e692581
I'm not that sure what the correct behaviour here is.
Capitalisation looks wrong so I think
type(Node) == BBorBInode
will always beFalse
. Removing the check on L209 doesn't affect the tests.However, changing it to
type(node)
causes 15 unit test failures.The text was updated successfully, but these errors were encountered: