Skip to content

Update ldoc.ltp - #517

Merged
Tieske merged 1 commit into
lunarmodules:masterfrom
spotaws:patch-1
Feb 19, 2026
Merged

Update ldoc.ltp#517
Tieske merged 1 commit into
lunarmodules:masterfrom
spotaws:patch-1

Conversation

@spotaws

@spotaws spotaws commented Feb 17, 2026

Copy link
Copy Markdown
Contributor

Lua 5.5 treats for loop variables as const, which means it is no longer permitted to reassign them in the loop. Easy fix is to create a new local variable and use it instead.

I've done that for this and with that, ldoc now runs in the Penlight root without errors.

Lua 5.5 treats for loop variables as const, which means it is no longer permitted to reassign them in the loop. Easy fix is to create a new local variable and use it instead.

I've done that for this and with that, ldoc now runs in the Penlight root without errors.

@Tieske Tieske left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Tieske
Tieske merged commit 8bf90ff into lunarmodules:master Feb 19, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants