Skip to content

Fix missing name for invalid arguments#8375

Merged
sovdeeth merged 4 commits intodev/patchfrom
patch/invalid-argument-errors
Feb 1, 2026
Merged

Fix missing name for invalid arguments#8375
sovdeeth merged 4 commits intodev/patchfrom
patch/invalid-argument-errors

Conversation

@APickledWalrus
Copy link
Copy Markdown
Member

Problem

In some cases, the name of an invalid function argument was not properly carried. For example, given the call location(1, 1, 1, 100, 100, the error message is Can't understand the argument for world parameter 'null': 100.

Solution

When passing arguments through, they are instead recreated with the expected parameter name. I have also tweaked the existing error message.

Testing Completed

I have added an additional test to confirm that the correct parameter name is now printed as expected.

Supporting Information

n/a


Completes: none
Related: none
AI assistance: none

@APickledWalrus APickledWalrus requested a review from a team as a code owner January 15, 2026 19:18
@APickledWalrus APickledWalrus added bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. 2.14 Targeting a 2.14.X version release. labels Jan 15, 2026
@APickledWalrus APickledWalrus requested review from UnderscoreTud and removed request for a team January 15, 2026 19:18
Copy link
Copy Markdown
Member

@Efnilite Efnilite left a comment

Choose a reason for hiding this comment

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

tests failing :(

@github-project-automation github-project-automation bot moved this to In Review in 2.14 Releases Jan 15, 2026
@skriptlang-automation skriptlang-automation bot added the patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version. label Feb 1, 2026
@sovdeeth sovdeeth merged commit 1c5687a into dev/patch Feb 1, 2026
9 checks passed
@github-project-automation github-project-automation bot moved this from In Review to Done - Awaiting Release in 2.14 Releases Feb 1, 2026
@skriptlang-automation skriptlang-automation bot added completed The issue has been fully resolved and the change will be in the next Skript update. and removed patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version. labels Feb 1, 2026
@sovdeeth sovdeeth moved this from Done - Awaiting Release to Done - Released in 2.14 Releases Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.14 Targeting a 2.14.X version release. bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. completed The issue has been fully resolved and the change will be in the next Skript update.

Projects

Status: Done - Released

Development

Successfully merging this pull request may close these issues.

4 participants