core: Inferencer should treat item assignments differently than direct assignments #482
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#482
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The implementation of the type inferencer should consider item assignments differently, i.e.,
target[key] = value
. Currently, the current implementation is mixed with direct assignments, e.g.,my_var = value
.The
Inferencer
should have afold_setitem(target, key, value)
and theCodeGenerator
should have agen_setitem(target, key, value)
to handletarget[key] = value
with better control.core: Inferencer should treat `__setitem__` assignments differently than direct assignmentsto core: Inferencer should treat item assignments differently than direct assignmentsFixed by #483. Closing.