Cyclic dependencies in constants cause stack overflow #40
Labels
No labels
arch
arm
arch
x86
bug
duplicate
enhancement
help wanted
invalid
os
linux
os
mac
os
windows
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Total time spent: 30 minutes
Due date
ed
30 minutes
No due date set.
Dependencies
No dependencies set.
Reference
cli/q#40
Loading…
Add table
Add a link
Reference in a new issue
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?
Expected behaviour: detect cycles and report error
Code to reproduce
Fixed in
32c308910d.Ideally this detection would work for constant definitions even without triggering lazy evaluation.
But for now this is good enough. The cycle is detected during lazy evaluation only.