-
-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Labels
A-standard-libraryArea: Standard LibraryArea: Standard LibraryC-bugCategory: BugCategory: BugE-easyCall for participation: Experience needed to fix: Easy / not muchCall for participation: Experience needed to fix: Easy / not much
Description
The current signature for string.pack in the default Lua 5.3 STD is:
string.pack:
args:
- type: string
must_use: trueThe correct signature, which is correct in the Luau STD, is:
string.pack:
args:
- type: string
- type: ...
must_use: trueThe same issue exists with string.unpack. This issue causes any usage of these functions that actually works to throw a selene warning, considering the function requires 2 arguments to work.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-standard-libraryArea: Standard LibraryArea: Standard LibraryC-bugCategory: BugCategory: BugE-easyCall for participation: Experience needed to fix: Easy / not muchCall for participation: Experience needed to fix: Easy / not much