Fix validation error on attempting rebind in function arguments #106
scott
commented 2024-11-01 18:24:59 +00:00
Owner
No description provided.
scott
commented 2024-11-01 18:25:24 +00:00
Author
Owner
```
let size = 100
let sides = 4
let petals = 50
fn ngon! (sides, size) -> {
repeat sides {
fd! (size)
rt! (inv (sides))
}
}
```
```
=== === === Run 24
Validation error: name sides is already bound on line of
on line 17 in input:
>>> fn ngon! (sides, size) -> {
................^
Validation error: name size is already bound on line of
on line 17 in input:
>>> fn ngon! (sides, size) -> {
.......................^
```
Labels
No Label
accepted
bug
clj
documentation
enhancement
errors
infrastructure
later
next
now
optimization
proposal
question
research
semantics
syntax
ux
vm
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: twc/ludus#106
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?