Skip to content

loop capture per iteration - #11596

Open
Joey Wunderlich (jwunderl) wants to merge 1 commit into
masterfrom
dev/jwunderl/loop-capture-semantics
Open

loop capture per iteration#11596
Joey Wunderlich (jwunderl) wants to merge 1 commit into
masterfrom
dev/jwunderl/loop-capture-semantics

Conversation

@jwunderl

Copy link
Copy Markdown
Member

close #11563

build here https://arcade.makecode.com/app/48bf6ee7932fd01859f48cc3cadc2211a3ba2253-baa5c5f82b#pub:S11575-26979-25273-96005; should see rainbow diagonal of numbers, vs https://arcade.makecode.com/#pub:S11575-26979-25273-96005 being set at 14 / black so it shows nothing on screen

@jwunderl
Joey Wunderlich (jwunderl) requested a review from a team September 9, 2026 22:47
@jwunderl

Copy link
Copy Markdown
Member Author

(Eric Anderson (@humanapp) in case you want to take a look, had some notable gpt assistance but took a stab at both this and #11597 based off your last two issues, still validating / need to test hardware but so far think got it)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[compiler] Closures capture let loop variables by final value, not per iteration

1 participant