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

Nim/compiler/pathutils.nim(226, 12) `canon"/foo/../bar" == "/bar"` [AssertionError] #9507

Closed
timotheecour opened this Issue Oct 25, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@timotheecour
Copy link
Collaborator

timotheecour commented Oct 25, 2018

/cc @Araq

  • unittest fails in Nim/compiler/pathutils.nim
Nim/compiler/pathutils.nim(226, 12) `canon"/foo/../bar" == "/bar"`  [AssertionError]

in fact, after commenting them one by one, a lot of unittests in that isMainModule block fail... this is intriguing given that compiler already depends on compiler/pathutils.nim

  • we really should have a way to systematically run isMainModule blocks in testament (cf #9328)

@timotheecour timotheecour added the std.os label Oct 25, 2018

@Araq Araq closed this in eb2e494 Oct 25, 2018

narimiran added a commit to narimiran/Nim that referenced this issue Oct 31, 2018

Araq added a commit that referenced this issue Nov 4, 2018

fixes #9507
(cherry picked from commit eb2e494)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment