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
Turns out that this is not currently possible to do without a major refactor. Crystal has no way to detect annotations on a macro calls. So this annotation would have to be attached to a method, or instance variable, or module.
A "hack" could be something like this
macrosetting(decl, ....)
moduleMACRO_SETTING__%temp
end
{% ..... << {annotations:MACRO_SETTING__%temp.resolve.annotations }%}
end
but this would also lead to some other issues... so for now I'll just have to figure out how to refactor this whole deal.
You may have a setting you want to deprecate:
The text was updated successfully, but these errors were encountered: