Refactor should handle primitive / object difference #5945
Replies: 8 comments
-
To be clear, your point is that at the end of the original snippet Is this what you were hoping to see? a = 0
def new_func(a):
for i in range(10):
a += 1
return a
a = new_func(a) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi, I'm curious if there is an update on this? I see the 'user responded' label removed. |
Beta Was this translation helpful? Give feedback.
-
Hi @rentruewang, we've tagged the issue with the |
Beta Was this translation helpful? Give feedback.
-
@StellaHuang95 Makes sense. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Reopening as this has not been fixed yet. It still repros for me in 2024.5 103. |
Beta Was this translation helpful? Give feedback.
-
@debonte I closed it due to inactivity (and taking up space in my issue logger 😃), and it's not too big of an issue anyways. As I don't see it being worked on regardless, maybe close it as won't fix / not planned? |
Beta Was this translation helpful? Give feedback.
-
I think this is a bug. first
since there is no one using but if you have
and if you change it to
you will see it generate it looks like we don't consider |
Beta Was this translation helpful? Give feedback.
-
See microsoft/vscode#198600
Steps to Reproduce:
This has no effect on primitive types.
Beta Was this translation helpful? Give feedback.
All reactions