-
Notifications
You must be signed in to change notification settings - Fork 214
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
fix parsing of windows file paths into a URI #1611
Conversation
I didn't add tests here but I did manually test - I have #1612 out separately to try and get better windows test coverage generally (we have tests for this they just don't run on windows). |
Ah crap this won't work because now the query params etc aren't allowed :(. We might just end up needing to manually convert |
Talked with @natebosch offline and we decided to just check for a |
Is this documented? It could be nice if it goes down the URI route then fails to find the file and there's a It could be easy for tool authors that don't use Windows to ship code not realising this and it only fail for their users, so having a really clear message might same some debugging. |
I did add an explicit message for that case - https://github.com/dart-lang/test/pull/1611/files#diff-dc50945ce4dcf38563b0434145591a7d37ff5007d90063c048ccefd867bcd9cdR183. It probably wouldn't hurt to update the docs for the feature to call that out as well though. |
Fixes Dart-Code/Dart-Code#3626