Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 2aca6c0

Browse files
authored
Manual roll of Dart with fixups to zircon system.dart (#44185)
https://dart.googlesource.com/sdk.git/+log/4fd35600b477..0e02245635ea Merge to Dart Version 3.2.0-16.0.dev
1 parent 8fea19c commit 2aca6c0

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ vars = {
5353
# Dart is: https://github.com/dart-lang/sdk/blob/main/DEPS
5454
# You can use //tools/dart/create_updated_flutter_deps.py to produce
5555
# updated revision list of existing dependencies.
56-
'dart_revision': '4fd35600b477d18b024fa1b31f42204fab2fccd0',
56+
'dart_revision': '0e02245635eaf23fa5d6a62b059a90aae34fffe0',
5757

5858
# WARNING: DO NOT EDIT MANUALLY
5959
# The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py

ci/licenses_golden/licenses_dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Signature: eca8a55f4f8e1225df85bb269749e68c
1+
Signature: a4dee66e7471aa133d109697527a267d
22

33
====================================================================================================
44
LIBRARY: dart

shell/platform/fuchsia/dart-pkg/zircon/lib/src/system.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ class ReadResult extends _Result {
8686
/// Returns the bytes as a Uint8List. If status != OK this will throw
8787
/// an exception.
8888
Uint8List bytesAsUint8List() {
89-
return _bytes!.buffer.asUint8List(_bytes!.offsetInBytes, _numBytes!);
89+
final lbytes = bytes;
90+
return lbytes.buffer.asUint8List(lbytes.offsetInBytes, _numBytes!);
9091
}
9192

9293
/// Returns the bytes as a String. If status != OK this will throw
@@ -129,7 +130,8 @@ class ReadEtcResult extends _Result {
129130
/// Returns the bytes as a Uint8List. If status != OK this will throw
130131
/// an exception.
131132
Uint8List bytesAsUint8List() {
132-
return _bytes!.buffer.asUint8List(_bytes!.offsetInBytes, _numBytes!);
133+
final lbytes = bytes;
134+
return lbytes.buffer.asUint8List(lbytes.offsetInBytes, _numBytes!);
133135
}
134136

135137
/// Returns the bytes as a String. If status != OK this will throw

0 commit comments

Comments
 (0)