-
Notifications
You must be signed in to change notification settings - Fork 28
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
Upcoming breaking change: Datagram.data -> Uint8List #381
Comments
tvolkert
added a commit
to tvolkert/co19
that referenced
this issue
Jun 11, 2019
This is in preparation for Datagram requiring a Uint8List passed to its constructor. This is a forward-compatible change. dart-lang/sdk#36900 dart-lang#381
athomas
pushed a commit
that referenced
this issue
Jun 11, 2019
This is in preparation for Datagram requiring a Uint8List passed to its constructor. This is a forward-compatible change. dart-lang/sdk#36900 #381
tvolkert
added a commit
to tvolkert/co19
that referenced
this issue
Jun 12, 2019
There were a few places where `.cast<List<int>>()` calls were missed in dart-lang#384 and dart-lang#385, and likewise for `Datagram.data` in dart-lang#382. Note that I had to change one of the tests of `Datagram.data`, since the existing test was setting invalid values as the data (signed integers or integers that didn't fit in 8-bytes). dart-lang/sdk#36900 dart-lang#381 dart-lang#383
athomas
pushed a commit
that referenced
this issue
Jun 12, 2019
There were a few places where `.cast<List<int>>()` calls were missed in #384 and #385, and likewise for `Datagram.data` in #382. Note that I had to change one of the tests of `Datagram.data`, since the existing test was setting invalid values as the data (signed integers or integers that didn't fit in 8-bytes). dart-lang/sdk#36900 #381 #383
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Per dart-lang/sdk#36900, a pending change has been prepared in the Dart SDK that changes
Datagram.data
to beUint8List
.This change breaks co19 with errors like the following:
I've made the necessary changes to co19 here. Can you please make this forwards-compatible change here to make this rollout a soft transition?
Thanks!
The text was updated successfully, but these errors were encountered: