ribrdb / desynced-tools

Tools for working with behaviors and blueprints from Desynced.
MIT License
4 stars 3 forks source link

Fix compilation of loops with multiple arguments #67

Closed swazrgb closed 5 months ago

swazrgb commented 5 months ago

This allows the following syntax:

let a: Value;
let b: Value;
for([a, b] of matchingSignals(value("metalore"))) {
  break;
}

notify(a);

Making the variable accessible outside of the loop scope