You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem in the code snippet in the description is that the object in "main.jsonnet" is recursively defined in a way where the recursion doesn't have a terminating condition (i.e. bottomless). It's equivalent to:
Cyclic imports are valid and well defined:
So are imports on self:
The problem in the code snippet in the description is that the object in "main.jsonnet" is recursively defined in a way where the recursion doesn't have a terminating condition (i.e. bottomless). It's equivalent to:
local a = a + {}; a
Which produces similar results:
But there are plenty of valid ways to define a variable or set of varibles recursively that do bottom out. For example:
Are both valid, terminating programs.
Originally posted by @mikedanese in google/go-jsonnet#353 (comment)
The text was updated successfully, but these errors were encountered: