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
shadow-cljs compiles the code with a warning "Cannot infer target type in expression: (set! (.-bar foo) "qux")". Changing the code to use let instead of p/let fixes the issue.
I believe (via our Slack thread) that this is because x does not get the correct metadata attached to it when p/let is constructing the bindings.
The text was updated successfully, but these errors were encountered:
lilactown
changed the title
metadata is not forwarded between symbols
metadata is not forwarded to bound symbols in p/letAug 7, 2024
I have in a ClojureScript project something akin to:
shadow-cljs compiles the code with a warning "Cannot infer target type in expression: (set! (.-bar foo) "qux")". Changing the code to use
let
instead ofp/let
fixes the issue.I believe (via our Slack thread) that this is because
x
does not get the correct metadata attached to it whenp/let
is constructing the bindings.The text was updated successfully, but these errors were encountered: