Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Internal ast? assertion for var in fn in def
Key details
Description
This form, when issued at the REPL, fails to compile, triggering an ana/ast?re violation:
There appears to be nothing fundamentally wrong with the construct, as it can be worked around in multiple ways.
These workarounds, which move the var special out, succeed:
Also, these subtler workarounds succeed in avoiding the issue:
Environment
Also affects 170 (not in pulldown yet) Same behavior in regular and bootstrapped
This form, when issued at the REPL, fails to compile, triggering an
ana/ast?
re
violation:There appears to be nothing fundamentally wrong with the construct, as it can be worked around in multiple ways.
These workarounds, which move the
var
special out, succeed:Also, these subtler workarounds succeed in avoiding the issue: