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 seems that the cloned! macro doesn't use the absolute path to itself, meaning that it can't be used in another macro as ::sycamore::prelude::cloned!.
I'm happy to try a fix for this, but I'm not sure if you'd want to use an absolute path that goes through sycamore_reactive or sycamore::prelude... (Perhaps cloned! should be redeclared in the Sycamore package?)
The text was updated successfully, but these errors were encountered:
I'm pretty sure we can use $crate here since it's a MBE. You're welcome to send a PR if you want and I can cut a new minor release for 0.7 merged. Do note that I'm on the verge of merging #337 which will remove any use for this macro.
I don't need this urgently, I've just worked around by useing it in a new block, and if #337 will make this entirely obsolete (hooray!) then this is fine to be closed I think!
It seems that the
cloned!
macro doesn't use the absolute path to itself, meaning that it can't be used in another macro as::sycamore::prelude::cloned!
.sycamore/packages/sycamore-reactive/src/lib.rs
Lines 148 to 158 in 56e8f04
I'm happy to try a fix for this, but I'm not sure if you'd want to use an absolute path that goes through
sycamore_reactive
orsycamore::prelude
... (Perhapscloned!
should be redeclared in the Sycamore package?)The text was updated successfully, but these errors were encountered: