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

Changes to session.path not reflected after first call to load() #183

Closed
NiklasRosenstein opened this Issue Aug 20, 2017 · 0 comments

Comments

Projects
1 participant
@NiklasRosenstein
Collaborator

NiklasRosenstein commented Aug 20, 2017

cxx = load('craftr.lang.cxx')
session.path.append(local('vendor/optional'))
optional = load('optional')

This won't be able to load the optional module from the vendor/optional directory, instead the session.path augmentation must happen before the first call to load(). This should be changed so that changes the path have an effect even after the first call to load().

@NiklasRosenstein NiklasRosenstein self-assigned this Aug 20, 2017

@NiklasRosenstein NiklasRosenstein added this to Craftr issues in Craftr 2.x Aug 30, 2017

@NiklasRosenstein NiklasRosenstein moved this from Craftr issues to STL language support in Craftr 2.x Aug 30, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment