Skip to content

Conversation

@sovdeeth
Copy link
Member

Problem

Skript would fail to identify foo(n: numbers) and foo(n: numbers) as the same function signature. This resulted in an api exception when attempting to load the second function, rather than a nice parse error.

This was due to a failure to convert array types to their component types when looking for converters, which would always fail.

Solution

Ensures array types are unwrapped when matching signatures.

Testing Completed

Supporting Information


Completes: none
Related: none

@sovdeeth sovdeeth requested a review from Efnilite as a code owner October 18, 2025 05:34
@sovdeeth sovdeeth added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Oct 18, 2025
@sovdeeth sovdeeth requested a review from a team as a code owner October 18, 2025 05:34
@sovdeeth sovdeeth requested review from Absolutionism and removed request for a team October 18, 2025 05:34
@skriptlang-automation skriptlang-automation bot added the needs reviews A PR that needs additional reviews label Oct 18, 2025
@sovdeeth sovdeeth moved this to In Review in 2.13 Releases Oct 18, 2025
Copy link
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.

could use a test 😉

@github-project-automation github-project-automation bot moved this from In Review to Awaiting Merge in 2.13 Releases Oct 18, 2025
@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 Oct 18, 2025
@APickledWalrus APickledWalrus merged commit a5252ed into SkriptLang:dev/patch Nov 1, 2025
5 checks passed
@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 Nov 1, 2025
@github-project-automation github-project-automation bot moved this from Awaiting Merge to Done - Awaiting Release in 2.13 Releases Nov 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 Nov 1, 2025
@APickledWalrus APickledWalrus moved this from Done - Awaiting Release to Done - Released in 2.13 Releases Nov 2, 2025
erenkarakal pushed a commit to erenkarakal/Skript that referenced this pull request Nov 26, 2025
erenkarakal pushed a commit to erenkarakal/Skript that referenced this pull request Nov 26, 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

No open projects
Status: Done - Released

Development

Successfully merging this pull request may close these issues.

5 participants