Closed matthias314 closed 1 month ago
i suppose @stable
should skip @generated
?
It should also skip @capture
(MacroTools), @model
(Turing) since they have custom syntax within functions.
Btw to test your hypothesis you should use @unstable
on any blocks of code to turn it off.
I have the impression that DispatchDoctor has problems with
@generated
functions. At present, I don't have anything close to an MWE. Nevertheless, I want to point out that this problem exists.Here are the steps to reproduce it: Check out the branch
dispatchdoctor-worldage
of https://github.com/matthias314/SmallCollections.jl . Go to thesrc
directory, start Julia and say:I believe the culprit is the
@generated
functionbits
starting at line 127 in staticvectors.jl . Needless to say, without DispatchDoctor is works.