Skip to content

Conversation

@parlough
Copy link
Member

@parlough parlough commented Jan 8, 2021

The function types have slightly special handling in parameter lists so this adds the nullability suffix if is needed.

Fixes #2477

@google-cla google-cla bot added the cla: yes Google CLA check succeeded. label Jan 8, 2021
@jcollins-g
Copy link
Contributor

This seems a reasonable approach generally; the dartdoc wrapper for "nullabilitySuffix" is safe and shouldn't emit star types.

@parlough parlough marked this pull request as ready for review January 12, 2021 04:24
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 91.525% when pulling b6dfbb9 on parlough:fix/missing-nullability into 03821e3 on dart-lang:master.

@jcollins-g jcollins-g merged commit 29db621 into dart-lang:master Jan 15, 2021
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.

Nullable Function callbacks sometimes render as not nullable

3 participants