-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Milestone
Description
set tables one two three
for table in $tables
echo foo > $table.sql
endas $table is not a live variable at the time the loop is being composed, the redirect destination is highlighted in the error color.
This behavior is just a particular illustration of the underlying problem. I'm pretty sure the editor and the parser simply were not designed with any of this in mind, so any fixes would have to either be architectural or hacks. Or I could be wrong and this could be a cinch.