Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Efnilite
Copy link
Member

@Efnilite Efnilite commented Jul 30, 2025

Problem

Problem 1

function test(x: int, y: int):
function test(x: ints)

With the above setup, all function calls to test would call test(x: ints).

Solution

Problem 1
Removes instantly returning the single list param function if it is found, instead adding it to the candidates.

Testing Completed

Added test for problem 1

Supporting Information


Completes:
Related: none

@Efnilite Efnilite requested a review from a team as a code owner July 30, 2025 15:07
@Efnilite Efnilite added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Jul 30, 2025
@Efnilite Efnilite requested review from cheeezburga and erenkarakal and removed request for a team July 30, 2025 15:07
@skriptlang-automation skriptlang-automation bot added the needs reviews A PR that needs additional reviews label Jul 30, 2025
@Efnilite Efnilite changed the title init commit Fix function calling and improve error with single list params Jul 30, 2025
Copy link
Member

@APickledWalrus APickledWalrus left a comment

Choose a reason for hiding this comment

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

good change

@APickledWalrus APickledWalrus linked an issue Jul 30, 2025 that may be closed by this pull request
1 task
@Efnilite Efnilite requested a review from UnderscoreTud July 30, 2025 17:20
@skriptlang-automation skriptlang-automation bot added patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version. and removed needs reviews A PR that needs additional reviews labels Jul 31, 2025
@APickledWalrus APickledWalrus moved this to Awaiting Merge in 2.12 Releases Aug 1, 2025
@APickledWalrus APickledWalrus merged commit b56720f into dev/patch Aug 1, 2025
5 checks passed
@APickledWalrus APickledWalrus deleted the patch/function-list-args-error branch August 1, 2025 19:37
@skriptlang-automation skriptlang-automation bot added the completed The issue has been fully resolved and the change will be in the next Skript update. label Aug 1, 2025
@github-project-automation github-project-automation bot moved this from Awaiting Merge to Done - Awaiting Release in 2.12 Releases Aug 1, 2025
@skriptlang-automation skriptlang-automation bot removed the patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version. label Aug 1, 2025
@sovdeeth sovdeeth moved this from Done - Awaiting Release to Done - Released in 2.12 Releases Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

5 participants