Import from parent directory?

About Monkey 2 Forums Monkey 2 Programming Help Import from parent directory?

This topic contains 4 replies, has 2 voices, and was last updated by  Mark Sibly 2 years, 5 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #4564

    skn3
    Participant

    How do you import from a parent directory? I tried #Import “../blah.monkey2” but that didn’t work.

    #4582

    Mark Sibly
    Keymaster

    It’s working here:

    #4593

    skn3
    Participant

    That’s strange! I shall have another go tomorrow, see if I can isolate it an example.

    #4756

    skn3
    Participant

    Its a bit later then planned, but I have created a basic project to show how the importing from parent directory is failing.

    https://ufile.io/f8928

    I get duplicate identifier errors. It appears that #import “foo.monkey2” and #import “../foo.monkey2” are not getting treated as the same file.

    #4764

    Mark Sibly
    Keymaster

    Thanks, can reproduce and there’s a fix on the way.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.