Closed ekeren closed 2 weeks ago
tried to use rename for variable k
k
bring cloud; class Example { b: cloud.Bucket; new(b: cloud.Bucket){ this.b = new cloud.Bucket(); let k = ""; log(k); } }
and got:
Notice that when trying to rename k in this code, it works:
bring cloud; class Example { // b: cloud.Bucket; new(c: cloud.Bucket){ // this.b = new cloud.Bucket(); let k = ""; log(k); } }
NA
No response
0.74.8
Congrats! :rocket: This was released in Wing 0.74.58.
I tried this:
tried to use rename for variable
k
and got:
Notice that when trying to rename
k
in this code, it works:This happened:
NA
I expected this:
No response
Is there a workaround?
No response
Anything else?
No response
Wing Version
0.74.8
Node.js Version
No response
Platform(s)
No response
Community Notes