Closed
Description
Running the code
void main() {
var src = new ByteArray(2);
var dst = new ByteArray(2);
dst.setRange(0, 0, src, 2);
}
on debug VM (r4668) hits an assertion:
runtime/vm/object.h:3386: error: expected: (byte_offset >= 0) && (limit <= Length())
The expected result is an IndexOutOfRange exception.