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

Fix the type of _convertStatementsBoundAttribute. #563

Merged
merged 1 commit into from
May 2, 2018

Conversation

stereotype441
Copy link
Contributor

The use of _convertStatementsBoundAttribute in _convertAttributes has
a type error that the analyzer has been failing to detect due to
dart-lang/sdk#32305. In order to fix this
analyzer bug, we need to first fix any type errors that exist in the
wild.

This change fixes the type of _convertStatementsBoundAttribute to
match the type expected at the use site, and adds the necessary "as"
cast.

The use of _convertStatementsBoundAttribute in _convertAttributes has
a type error that the analyzer has been failing to detect due to
dart-lang/sdk#32305.  In order to fix this
analyzer bug, we need to first fix any type errors that exist in the
wild.

This change fixes the type of _convertStatementsBoundAttribute to
match the type expected at the use site, and adds the necessary "as"
cast.
Copy link
Contributor

@MichaelRFairhurst MichaelRFairhurst left a comment

Choose a reason for hiding this comment

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

needs format, I'll merge to unblock and then fix in another PR.

@MichaelRFairhurst MichaelRFairhurst merged commit 8dd28de into master May 2, 2018
@MichaelRFairhurst MichaelRFairhurst deleted the fix-for-32305 branch May 4, 2018 19:41
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