BowlerHatLLC / vscode-as3mxml

ActionScript & MXML language extension for Visual Studio Code. Develop apps for Adobe AIR, Adobe Flash Player, or Apache Royale.
https://as3mxml.com/
Apache License 2.0
257 stars 39 forks source link

Cannot rename a variable if it is declared in "for each in" #754

Open pngdrift opened 3 months ago

pngdrift commented 3 months ago

Screencast_20240713_002117.webm

Cannot rename a variable if it is declared in "for each in", but if you rename variable inside the brackets, then it works.

joshtynjala commented 3 months ago

Good find! Thanks. I'll investigate.

joshtynjala commented 3 months ago

Fixed in apache/royale-compiler@6679e22713dacaf9ddcb4fb1fdc8517a78b82006

This fix will be included in a version of vscode-as3mxml after the next Apache Royale version is released.