-
Notifications
You must be signed in to change notification settings - Fork 110
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
Unable to Revise a package using ParallelStencil.jl #821
Comments
This does seem like a Revise bug. Can you give me a MWE? I've not used ParallelStencil before. |
I think the bug requires a nested file structure in a project. To reproduce:
|
This is not a Revise issue. Put The fundamental issue is that a package's |
Hi, Revise is brilliant. I've ran into an issue revising package code that uses ParallelStencil.
ParallelStencil provides macros such as
@parallel
to annotate functions with, but before these annotations can be used, an initialisation macro must be run first, so I have this at the top level of my package:before including other files with
@parallel
calls.My development workflow involves activiating
MyPackage
environment,using MyPackage
, and then testing out bits of code in the REPL, editing the package, Revise reloads, back to the REPL, etc.The problem is, this workflow breaks when using Revise and ParallelStencil in combination, as upon the first code change in the session (not necessarily to any ParallelStencil-involved code), Revise does its thing, but I get an error:
That I didn't call the init macro, despite it appearing before any other ParallelStencil macros in my package.
CC @omlins who thought this might be a Revise issue
The text was updated successfully, but these errors were encountered: