Skip to content
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

Import bugging #37

Closed
ghost opened this issue Oct 6, 2019 · 2 comments
Closed

Import bugging #37

ghost opened this issue Oct 6, 2019 · 2 comments
Labels
🔥 bug Something isn't working
Milestone

Comments

@ghost
Copy link

ghost commented Oct 6, 2019

Describe the bug
i Tryed to run unittest.ark, and it says "ParseError: Couldn't find file Switch.ark"
Note: i run it without the --lib argument
To Reproduce
Steps to reproduce the behavior:

  1. Go to tests directory
  2. Launch unittest.ark
  3. See error

Expected behavior
I Expect to import the module, wich is already installed with Ark Releases

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows
  • Version : 3.0.5
    Additional context
    I think it's the import bugging because it happens on the first import
@ghost ghost added the 🔥 bug Something isn't working label Oct 6, 2019
@SuperFola
Copy link
Member

The first time you're compiling it, if the standard library isn't installed in the directory it's meant to be in, that's absolutely normal.

I'm trying to understand why it's failling (same error) when the compiled bytecode already exists

@SuperFola
Copy link
Member

Okay, I found why, on windows std::filesystem::last_write_time is buggy, thus it returns a timestamp from the future, and the bytecode file appears to be older than the source code. Spotted in 588a81b, can't do anything about it before Microsoft updates MSVC.

@SuperFola SuperFola added this to the 3.1.0 milestone Mar 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔥 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant