Skip to content

Allow mixins that call super #1555

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
merged 2 commits into from
Dec 4, 2017
Merged

Allow mixins that call super #1555

merged 2 commits into from
Dec 4, 2017

Conversation

jcollins-g
Copy link
Contributor

Fixes #1541.

Add an analysis option to allow super-mixins, and a class in fake.dart to verify that dartdoc doesn't quit with an analysis error when encountering them.

@googlebot googlebot added the cla: yes Google CLA check succeeded. label Dec 1, 2017
@@ -2,6 +2,7 @@ analyzer:
strong-mode: true
language:
enableGenericMethods: true
enableSuperMixins: true
Copy link
Member

Choose a reason for hiding this comment

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

Are we using this feature in the dartdoc codebase? I'm curious why you're turning it on here...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

#1541 -- A flutter user tried to do this. Flutter could be using it in their codebase -- it is enabled in their analysis options -- but I guess they just haven't yet or otherwise dartdoc wouldn't have worked for them.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, nvm, you mean why in analysis_options.yaml. The test code has this now.

@jcollins-g jcollins-g merged commit 2b175f8 into master Dec 4, 2017
@jcollins-g jcollins-g deleted the allow-super-mixins branch December 7, 2017 17:59
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.

3 participants