-
-
Notifications
You must be signed in to change notification settings - Fork 416
Fix named function arguments conflicts #8350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Efnilite
wants to merge
25
commits into
dev/feature
Choose a base branch
from
feature/fix-full-qualifiers-in-nfa
base: dev/feature
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+220
−201
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UnderscoreTud
requested changes
Jan 5, 2026
src/main/java/org/skriptlang/skript/common/function/FunctionReferenceParser.java
Outdated
Show resolved
Hide resolved
sovdeeth
requested changes
Jan 5, 2026
...skript/tests/regressions/8350-fully qualified names and named function arguments conflict.sk
Outdated
Show resolved
Hide resolved
sovdeeth
approved these changes
Jan 6, 2026
1 task
APickledWalrus
requested changes
Jan 6, 2026
src/test/skript/tests/regressions/8350-named function arguments conflicts.sk
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/common/function/FunctionArgumentParser.java
Outdated
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/common/function/FunctionReference.java
Outdated
Show resolved
Hide resolved
…fa' into feature/fix-full-qualifiers-in-nfa
APickledWalrus
approved these changes
Jan 8, 2026
sovdeeth
approved these changes
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
Problem 1
Passing
minecraft:plainsto a function would result in the function incorrectly assuming a signature containing a named function parameter calledminecraftexists.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
Supporting Information
Completes: #8342
Related: none
AI assistance: none