|
@@ -29,7 +29,7 @@ abstract Vector<T>(VectorData<T>) {
|
|
public inline function new(length:Int) {
|
|
public inline function new(length:Int) {
|
|
this = [];
|
|
this = [];
|
|
if (length > 0)
|
|
if (length > 0)
|
|
- this[length - 1] = cast null;
|
|
|
|
|
|
+ this[length - 1] = @:nullSafety(Off) cast null;
|
|
}
|
|
}
|
|
|
|
|
|
@:op([]) public inline function get(index:Int):T {
|
|
@:op([]) public inline function get(index:Int):T {
|