History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BOO-792
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Rodrigo B. de Oliveira
Reporter: Rodrigo B. de Oliveira
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Boo

assignment to field member with the same name as loop variable confuses the compiler

Created: 18/Jan/07 07:55 AM   Updated: 19/Jan/07 03:40 AM
Component/s: None
Affects Version/s: 0.7.6
Fix Version/s: 0.7.7

Time Tracking:
Not Specified

Testcase included: yes


 Description  « Hide
"""
Original
Assigned
"""
class Container:
public target = "Initial Value"

objects = ("Original",)
container = Container()
for target in objects:
container.target = "Assigned"

print(target)
print(container.target)



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.