Cannot refactor>rename var to array


I need to rename a variable to a dict. See attached file. Why is the dict an invalid identifier? Actually, when I type the first "[" PC reports it is an invalid identifier.


Screen Shot 2012-10-23 at 9.41.35 AM.png
3 comments
Comment actions Permalink
A Rename refactoring renames a variable to another variable; it cannot change the type of an entity. In your case, the result of a rename is no longer a variable reference.
0
Comment actions Permalink
Bummer, can this be feature request?
0
Comment actions Permalink
We don't currently plan to make the Rename refactoring do something other than rename.
0

Please sign in to leave a comment.