-
Notifications
You must be signed in to change notification settings - Fork 205
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
migrate off of library.parts #3342
Conversation
Looks like links to direct source files on github are not working, causing the markdown checker to fail. |
This reverts commit 7e9d2bd.
@@ -256,7 +256,7 @@ class AnalyzerResolver implements ReleasableResolver { | |||
Future<List<ErrorsResult>> _syntacticErrorsFor(LibraryElement element) async { | |||
final existingElements = [ | |||
element, | |||
for (final part in element.parts) | |||
for (final part in element.parts2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this no longer gives the actual part source, but just the library source.
How can I get the part source? It seems hidden now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I cast these to a DirectiveUriWithSource
? Or just do a check for that type?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok yeah that looks like the fix, I updated to check for the DirectiveUriWithSource
type and then use the source from that. LMK if I should do something else.
No description provided.