-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The import keyword appears to be looking relative to the CWD, rather than the file path of the current file.
To Reproduce
The following folder structure and files illustrate the problem
/folder1/ a.morpho
/folder1/ b.morpho -> import "a.morpho"
/folder2/ c.morpho -> import "../b.morpho"
Running c.morpho yields an error that "a.morpho" could not be found.
Expected behavior
import should simply find and import the file.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working