Skip to content

dartdoc build is failing #1478

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

Closed
devoncarew opened this issue Aug 2, 2017 · 7 comments · Fixed by #1501
Closed

dartdoc build is failing #1478

devoncarew opened this issue Aug 2, 2017 · 7 comments · Fixed by #1501
Assignees
Labels
P0 A serious issue requiring immediate resolution type-infra A repository infrastructure change or enhancement

Comments

@devoncarew
Copy link
Member

This is for the flutter bot:

https://travis-ci.org/dart-lang/dartdoc/jobs/260396830

This happened on the weekly cron job rebuild of dartdoc, so perhaps this was due to a change in the flutter source code?

/cc @jcollins-g

@devoncarew devoncarew added the type-infra A repository infrastructure change or enhancement label Aug 2, 2017
@devoncarew devoncarew added the P1 A high priority bug; for example, a single project is unusable or has many test failures label Aug 31, 2017
@jcollins-g
Copy link
Contributor

Going to need to get this fixed before publishing a new dartdoc. Elevating to P0 as a result.

@jcollins-g jcollins-g added P0 A serious issue requiring immediate resolution and removed P1 A high priority bug; for example, a single project is unusable or has many test failures labels Aug 31, 2017
@jcollins-g
Copy link
Contributor

There seems to be a real bug going on where we don't recognize an accessor is Inheritable when it is represented by a MultiplyInheritedPropertyAccessorElementImpl. Fixing that is fairly straightforward, verifying the fix breaks nothing else is a bit harder.

@kevmoo
Copy link
Member

kevmoo commented Aug 31, 2017

@jcollins-g – any idea why we're hitting w/ only w/ Flutter?

@jcollins-g
Copy link
Contributor

Not yet. But in all my spelunking in dartdoc prior to a month and a half ago, I had never heard of a MultiplyInheritedPropertyAccessorElementImpl object from the analyzer. The object type is not new in the analyzer, but something new, somewhere has caused it to start appearing when building flutter docs using the head version of dartdoc.

@jcollins-g
Copy link
Contributor

This seems to be related to recent changes in head, including #1466, combined with changes in flutter package later on. The new synthetic construction of Fields to solve #1394 is missing a case where an accessor's variable method can be null, because of multiple inheritance paths for an accessor. This is not quite trivial to solve, so I will be deferring this issue and releasing 0.13.0+2 as a one line patch to solve #1491.

@devoncarew
Copy link
Member Author

@jcollins-g, should we disable the flutter travis bot for now, or would this interfere w/ looking into a fix?

@jcollins-g
Copy link
Contributor

I'd prefer the travis bot to remain broken as a positive signal that we shouldn't release from head until this is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 A serious issue requiring immediate resolution type-infra A repository infrastructure change or enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants