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
If I used @views on a function that uses Tullio, the module won't compile. Perhaps this is known or intended, but I don't understand the behavior. Removal of @views allows compilation.
The text was updated successfully, but these errors were encountered:
I wouldn't call this intended but it is unfortunately expected. Macros are expanded outermost first (the opposite order to functions) and thus @views changes code before @tullio sees it, and produces something it has no idea how to digest:
Macros can opt out of this, by expanding their arguments. If @views did this, it would act on the code @tullio produces, and would be less likely to cause trouble. But it doesn't.
If I used @views on a function that uses Tullio, the module won't compile. Perhaps this is known or intended, but I don't understand the behavior. Removal of @views allows compilation.
The text was updated successfully, but these errors were encountered: