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
Currently, the CGP pro macros are unhygenic, and requires import of cgp::prelude::* for the expanded syntax to work. Unfortunately, there is no equivalent of $crate in the proc macro world to help us bind CGP constructs with proper module path.
We would need to figure out how to properly scope CGP constructs inside the macro expansion, so that the macros could work even if users don't import the prelude.
The text was updated successfully, but these errors were encountered:
Currently, the CGP pro macros are unhygenic, and requires import of
cgp::prelude::*
for the expanded syntax to work. Unfortunately, there is no equivalent of$crate
in the proc macro world to help us bind CGP constructs with proper module path.We would need to figure out how to properly scope CGP constructs inside the macro expansion, so that the macros could work even if users don't import the prelude.
The text was updated successfully, but these errors were encountered: