StackOverflow error when computing hash code of circular objects #288

Open
opened 2025-12-30 01:23:11 +01:00 by adam · 0 comments
Owner

Originally created by @bioball on GitHub (Feb 24, 2025).

This code will stack overflow:

local myself {
  res = myself
}

foo: Mapping = new {
  [myself] = 1
}
Originally created by @bioball on GitHub (Feb 24, 2025). This code will stack overflow: ```pkl local myself { res = myself } foo: Mapping = new { [myself] = 1 } ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#288