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
It's hard to track this down because there is no Info on the term; this is because the offending code --
(defconst VALID_CHAIN_IDS (map (int-to-str 10) (enumerate 0 19))
"List of all valid Chainweb chain ids")
-- populates the value from applying a native at module load. Generally runtime-generated values do not have code locations, but in the defconst case it would be useful to supply them perhaps by overwriting the Info value with the old code location.
The actual bug is the typechecker cannot handle non-literals in consts since these are Direct ref values. To fix either specifically handle lists, or investigate whether to just recurse back to toAST and stop the special-casing for Direct.
The text was updated successfully, but these errors were encountered:
As seen in #1105 , but the actual bug driving the change is still open:
It's hard to track this down because there is no
Info
on the term; this is because the offending code ---- populates the value from applying a native at module load. Generally runtime-generated values do not have code locations, but in the defconst case it would be useful to supply them perhaps by overwriting the
Info
value with the old code location.The actual bug is the typechecker cannot handle non-literals in consts since these are
Direct
ref values. To fix either specifically handle lists, or investigate whether to just recurse back totoAST
and stop the special-casing forDirect
.The text was updated successfully, but these errors were encountered: