New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@__FILE__
doesn't report current file in weaving context
#263
Comments
Additionally |
Just for the record -- we'll need to wrap everything Weave evaluates in something like |
Weave uses Line 235 in 72e7ccf
We wouldn't be able to use |
my hunch is adding something like this on I set this issue as a milestone for v0.11. |
Yeah. Can also use something like https://github.com/JuliaDocs/DocumentationGenerator.jl/blob/d3c3ce4aa1dc9e3c813ac26d81023dda9d3dfc62/src/utils/rewrite.jl#L109-L117 if you don't want the dep on MacroTools. |
when loading data it's often convenient to use
@__FILE__
to reference files relative to the current file. During weaving that macro seems to evaluate to"none"
though.The text was updated successfully, but these errors were encountered: