Skip to content

Conversation

@Efnilite
Copy link
Member

@Efnilite Efnilite commented Jan 5, 2026

Problem

Problem 1
Passing minecraft:plains to a function would result in the function incorrectly assuming a signature containing a named function parameter called minecraft exists.

Problem 2
Strings in expressions in strings are not properly handled, e.g. "%now formatted as "HH:mm:ss"%".

Solution

Problem 1
If a parameter is found to be null with a non-null argument value, attempts to parse name:value. Some additional reformatting has been added to this PR.

Problem 2
Add additional parsing logic to FunctionArgumentParser.

Testing Completed

  • Added JUnit for FunctionArgumentParser.
  • Added CI test.

Supporting Information


Completes: #8342
Related: none
AI assistance: none

@Efnilite Efnilite requested a review from a team as a code owner January 5, 2026 13:06
@Efnilite Efnilite added bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. functions Related to functions labels Jan 5, 2026
@Efnilite Efnilite requested review from cheeezburga and erenkarakal and removed request for a team January 5, 2026 13:06
@skriptlang-automation skriptlang-automation bot added the needs reviews A PR that needs additional reviews label Jan 5, 2026
@Efnilite Efnilite requested a review from UnderscoreTud January 5, 2026 13:59
@Efnilite Efnilite requested a review from sovdeeth January 5, 2026 20:10
@sovdeeth sovdeeth linked an issue Jan 6, 2026 that may be closed by this pull request
1 task
@github-project-automation github-project-automation bot moved this to In Review in 2.14 Releases Jan 6, 2026
@Efnilite Efnilite changed the title Fix fully qualified names in named function arguments not parsing correctly Fix named function arguments conflicts Jan 6, 2026
@skriptlang-automation skriptlang-automation bot removed the needs reviews A PR that needs additional reviews label Jan 6, 2026
@APickledWalrus APickledWalrus added the 2.14 Targeting a 2.14.X version release. label Jan 8, 2026
@skriptlang-automation skriptlang-automation bot added the feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. label Jan 8, 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. feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. functions Related to functions

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

Fully qualified objects in function arguments not parsing correctly

5 participants