Skip to content

Make import keyword change working directory during external compilation#325

Open
WoodchuckXL wants to merge 1 commit into
Morpho-lang:devfrom
WoodchuckXL:iss277
Open

Make import keyword change working directory during external compilation#325
WoodchuckXL wants to merge 1 commit into
Morpho-lang:devfrom
WoodchuckXL:iss277

Conversation

@WoodchuckXL

Copy link
Copy Markdown

Fix for #277.
Changes the global CWD to the current file path during compilation of imported files to allow for them to import files with local paths. The CWD is restored after compilation of the imported file is finished.
Added test for this behavior.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant