Skip to content

fix(lua): pass chunkname to codeload (E9)#36

Merged
dsent merged 1 commit into
aldum:devfrom
Vadim1987:Vadim1987/fix-codeload-chunkname
Jul 2, 2026
Merged

fix(lua): pass chunkname to codeload (E9)#36
dsent merged 1 commit into
aldum:devfrom
Vadim1987:Vadim1987/fix-codeload-chunkname

Conversation

@Vadim1987

Copy link
Copy Markdown

codeload called loadstring with no chunkname, so user code errors cited [string "…"] instead of the file. Add an optional name param and load with '@'..name, and pass the filename from load_file and ProjectService:run. Console input (no file) is left unnamed. NOTE: this touches the same codeload function as #27 (A5/C6) — #27 should be merged first; this branch will be rebased on top to resolve the overlap.

@dsent dsent requested a review from aldum June 30, 2026 02:46
@dsent

dsent commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

@Vadim1987 can you please rebase on the latest dev version?

@Vadim1987 Vadim1987 force-pushed the Vadim1987/fix-codeload-chunkname branch from 38be37e to fe1febb Compare July 1, 2026 06:31
@Vadim1987

Copy link
Copy Markdown
Author

rebased on latest dev — resolved the codeload overlap with #27 (kept the type guard, added the chunkname). ready for review.

@dsent dsent merged commit 4d0f8ea into aldum:dev Jul 2, 2026
8 checks passed
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.

3 participants