-
-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Description
What happened?
This code is allowed: (pop [1 2 3] 0 1). It mostly behaves the same as (pop [1 2 3] 0), but leaves an extra value on the VM stack. (pop! also accepts extra arguments.)
The compiler validates that pop and pop! are called with at least 2 arguments, but it should validate that they are called with exactly 2.
What ArkScript version are you seeing the problem on?
v4.4.1
Operating System
Linux
Compiler used
None
Compiler version used
No response
Relevant code & log output
Documentation
- I have read existing related documentation before submitting this report
- I have searched for an existing issue before posting
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels