remove return from unchecked operator for FixedArray (#603)

This commit is contained in:
Max Graey 2019-05-26 14:51:55 +03:00 committed by Daniel Wirtz
parent bc294203bf
commit 4a308aa50e

View File

@ -36,7 +36,7 @@ export class FixedArray<T> {
@operator("[]=") private __set(index: i32, value: T): void {
if (<u32>index >= <u32>this.length) throw new RangeError(E_INDEXOUTOFRANGE);
return this.__unchecked_set(index, value);
this.__unchecked_set(index, value);
}
@operator("{}") private __unchecked_get(index: i32): T {