-
Notifications
You must be signed in to change notification settings - Fork 28
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
Not getting access to functions as expected #111
Comments
It's worth noting that if instead of trying to load the module with julia> include("src/TestMod.jl") everything works as expected |
You might need to use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(Originally this was created as an issue in the InteractiveDynamics repo, but the issue might be with requires so I'm reposting here):
I have a MWE where I would expect to get access to the
agents/
functions from InteractiveDynamics, but for some reason they don't get loaded.The main
InteractiveDynamics.jl
src file looks like this:If I
generate
a new package "TestMod", activate the environment, andadd
only "InteractiveDynamics" and "Agents", I get a Project.toml that looks like this:Then if my
TestMod.jl
file is simply:And I run:
I would expect to get access to all the functions within the
src/agents/
files, but we can see that I don't get access to any of them.Is this expected behavior? How can I get access to these functions from inside my "TestMod.jl" module?
Thanks
The text was updated successfully, but these errors were encountered: