aboutsummaryrefslogtreecommitdiff
path: root/lux-php/source/program.lux
diff options
context:
space:
mode:
authorEduardo Julian2022-03-30 14:05:57 -0400
committerEduardo Julian2022-03-30 14:05:57 -0400
commit381ec5920d9ebeb335963778dec182268819e718 (patch)
tree5c9288c5fbb16c21a0f00f96710b0aa7db4585f4 /lux-php/source/program.lux
parent1a962ee4b03f51f46a5979bfefc954f35ee3a1b7 (diff)
Now demanding mandatory loop names, instead of using default "again" name.
Diffstat (limited to 'lux-php/source/program.lux')
-rw-r--r--lux-php/source/program.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/lux-php/source/program.lux b/lux-php/source/program.lux
index 6652c8011..08bad8d41 100644
--- a/lux-php/source/program.lux
+++ b/lux-php/source/program.lux
@@ -313,8 +313,8 @@
php/runtime/memory/ArrayMemory::size
(as Nat)
--)]
- (loop [idx 0
- output (as (Array Any) (array.new size))]
+ (loop (again [idx 0
+ output (as (Array Any) (array.new size))])
(if (n.< size idx)
(let [value (|> host_object
(php/runtime/memory/ArrayMemory::get (php/runtime/memory/LongMemory::new (.int idx)))