Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Bug fix: Use backslashes on Windows while resolving imports #4195

Merged
merged 2 commits into from
Jul 21, 2021

Conversation

haltman-at
Copy link
Contributor

@haltman-at haltman-at commented Jul 20, 2021

This PR is intended to address #4193. This needs to be tested on Windows! This is a quick PR that I think should resolve the problem, but I am working without actual testing here.

As best I can tell -- remember, I'm working without testing here -- the problem is that resolution of relative paths is causing aliasing of sources. Because some paths are being given with slashes, but import resolution leads to the use of backslashes instead.

Except, hm, we might need to apply this imports too, not just at the beginning? Uh, I guess I need to go make more changes to this... OK, made that change.

@haltman-at haltman-at changed the title Use backslashes on Windows while resolving imports Bug fix: Use backslashes on Windows while resolving imports Jul 20, 2021
@cds-amal
Copy link
Member

Gosh, we really need a windows test runner. I can't think of a way to test this without actually testing on windows :/

Copy link
Member

@cds-amal cds-amal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Nice work @haltman-at !

@haltman-at
Copy link
Contributor Author

OK, you've tested it on Windows?

@haltman-at
Copy link
Contributor Author

@cds-amal confims that he has so I'm gonna merge this!

@haltman-at haltman-at merged commit 63ef5c8 into develop Jul 21, 2021
@haltman-at haltman-at deleted the denormalize branch July 21, 2021 01:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants