-
Notifications
You must be signed in to change notification settings - Fork 108
Migrate to null-safety #520
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
Conversation
Closes #493
@@ -26,7 +26,7 @@ Stream<String> normalizeGeneratorOutput(Object value) { | |||
return e.trim(); | |||
} | |||
|
|||
throw _argError(e); | |||
throw _argError(e as Object); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just do a whereType<Object>()
above instead of the explicit null check and cast.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whereType
doesn't exist on Stream! That's what I did first!
CC @lrhn
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh it does in stream_transform
I think, if we don't already depend on it though then this is fine.
PTAL @jakemac53 |
@kevmoo When can we expect a stable release with this change? |
We're running some internal tests first. Maybe my end-of-day if we're lucky!
…On Thu, Mar 18, 2021 at 3:14 AM Lasse Rosenow ***@***.***> wrote:
@kevmoo <https://github.com/kevmoo> When can we expect a stable release
with this change?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#520 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAEFCVR2YIC2L6UV7XSZN3TEHG7DANCNFSM4ZJOTVDQ>
.
|
Closes #493