Skip to content

Use compare paths for comparing diagnostic paths, since the canonicalization of fileName and unitName differ #24340

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

Merged

Conversation

weswigham
Copy link
Member

Fixes a pair of RWC tests which were failing due to error count differences.

Potentially related real issue: Some source files in the affected compilations had rooted fileNames, while others did not (glimmer is one of them, for reference) - given that's it's not a Path, this isn't disallowed, but does feel... odd. I believe it was the input file set (those passed via the tsconfig directly) which were unrooted, while the remainder were rooted.

AFAIK with this change no more RWC tests should be failing due to harness bugs leftover from the vfs change and followups.

@weswigham weswigham merged commit 7e4b20e into microsoft:master May 23, 2018
@weswigham weswigham deleted the fix-rwc-path-baseline-comparisons branch May 23, 2018 00:01
@microsoft microsoft locked and limited conversation to collaborators Jul 31, 2018
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.

1 participant