Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

IncompatibleWith validation #1911

Merged
merged 3 commits into from
Dec 27, 2019
Merged

IncompatibleWith validation #1911

merged 3 commits into from
Dec 27, 2019

Conversation

pq
Copy link
Contributor

@pq pq commented Dec 26, 2019

Follow-up from #1909.

/cc @bwilkerson

@pq
Copy link
Contributor Author

pq commented Dec 27, 2019

(Hmmmm, looks like I've got some thinking to do to make synchrony work.)

}

// Process compatibility annotations.
final rulePath = File('lib/src/rules').absolute.path;
Copy link
Contributor

Choose a reason for hiding this comment

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

Alternatively, we could analyze and visit the constructor invocations in lib/src/rules.dart. That would probably find all of the lint rule class element faster (although it would miss classes that aren't registered).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Let's discuss refining this together. I have a few other ideas but a whiteboard would make them easier.

I'll land this as a jumping off point.

@pq pq merged commit 0e8f582 into master Dec 27, 2019
@pq pq deleted the incompatibleWithValidation branch December 27, 2019 00:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

3 participants