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

Update to analyzer 2.7.0, use createMockSdk() and FolderBasedDartSdk. #2845

Merged
merged 2 commits into from
Oct 25, 2021

Conversation

scheglov
Copy link
Contributor

No description provided.

@google-cla google-cla bot added the cla: yes Google CLA check succeeded. label Oct 22, 2021

// The [MockSdk] only works in non-canonicalized paths, which include
// "C:\sdk", on Windows. However, dartdoc works almost exclusively with
// canonical paths ("c:\sdk"). Copy all MockSdk files to the canonicalized
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice, this is no longer needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Probably. Now createMockSdk writes into the given sdkRoot, and it is where we get this folder is where we should do any normalization.

@jcollins-g jcollins-g merged commit fb621e1 into dart-lang:master Oct 25, 2021
@scheglov scheglov deleted the analyzer-2.7.0-createMockSdk branch October 25, 2021 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Google CLA check succeeded.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants