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
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. patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version.

Projects

Status: Awaiting Merge

Development

Successfully merging this pull request may close these issues.

4 participants