-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Labels
enhancementNew feature or requestNew feature or requestpending / needs designAwaiting design and/or implementation discussion and decisionsAwaiting design and/or implementation discussion and decisions
Description
Hello, just today I noticed that any other option than "count" passed into collectgarbage
throws the following error in versions v0.10.0 - v0.10.1:
collectgarbage("collect")
test:1: collectgarbage called with invalid option
[Stack Begin]
Script '[C]'
Script 'test', Line 1
[Stack End]
Expected behavior:
collectgarbage("collect" | "stop" | "restart" | "step" | "isrunning")
should run without errors, as in previous versions.
Actual behavior:
The function throws an “invalid option” error for any option except "count"
This change wasn't specified in the changelog so it may just be a mistake?
Either way it may result in confusion 👍
p.s. thank you for maintaining this awesome project!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpending / needs designAwaiting design and/or implementation discussion and decisionsAwaiting design and/or implementation discussion and decisions