Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: lib/scalarlist/byte_arrays.dart

Issue 11098065: Fix bug in ByteArray.subByteArray implementation for omitted length. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/lib/byte_array.dart » ('j') | runtime/lib/byte_array.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/scalarlist/byte_arrays.dart
diff --git a/lib/scalarlist/byte_arrays.dart b/lib/scalarlist/byte_arrays.dart
index 81e3f2477414af1c778c16cd2ebbb997d00eea95..5a23657f8dbde86c4839a14d059a638879cf2d37 100644
--- a/lib/scalarlist/byte_arrays.dart
+++ b/lib/scalarlist/byte_arrays.dart
@@ -33,8 +33,8 @@ abstract class ByteArray {
* changes to the returned byte array are visible in this byte array
* and vice-versa.
*
- * Throws [IndexOutOfRangeException] if [start] is negative, or if
- * `start + length` is greater than the length of this byte array.
+ * Throws [IndexOutOfRangeException] if [start] or [length] are negative, or
+ * if `start + length` is greater than the length of this byte array.
*
* Throws [ArgumentError] if [length] is negative.
*/
« no previous file with comments | « no previous file | runtime/lib/byte_array.dart » ('j') | runtime/lib/byte_array.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698