Index: runtime/bin/file_impl.dart |
=================================================================== |
--- runtime/bin/file_impl.dart (revision 855) |
+++ runtime/bin/file_impl.dart (working copy) |
@@ -32,8 +32,8 @@ |
} |
int readInto(List<int> buffer, int offset, int len) { |
- if (offset == null) offset = 0; |
- if (len == null) len = buffer.length; |
+ if (offset === null) offset = 0; |
+ if (len === null) len = buffer.length; |
if (offset < 0) throw new StreamException("Illegal offset $offset"); |
if (len < 0) throw new StreamException("Illegal length $len"); |
return _file.readListSync(buffer, offset, len); |