2
0
Эх сурвалжийг харах

ignore Vector changes until C# and python are fixed (see #3888)

Simon Krajewski 10 жил өмнө
parent
commit
4baa44fb3b

+ 3 - 0
std/haxe/ds/Vector.hx

@@ -220,6 +220,7 @@ abstract Vector<T>(VectorData<T>) {
 		#end
 		#end
 	}
 	}
 
 
+	#if !cs
 	/**
 	/**
 		Returns a shallow copy of `this` Vector.
 		Returns a shallow copy of `this` Vector.
 
 
@@ -300,4 +301,6 @@ abstract Vector<T>(VectorData<T>) {
 		this.sort(f);
 		this.sort(f);
 		#end
 		#end
 	}
 	}
+
+	#end
 }
 }

+ 3 - 0
tests/unit/src/unitstd/haxe/ds/Vector.unit.hx

@@ -102,6 +102,7 @@ eq(3, res);
 
 
 // copy
 // copy
 
 
+#if (!python && !cs)
 var i0 = new IntWrap(1);
 var i0 = new IntWrap(1);
 var i1 = new IntWrap(1);
 var i1 = new IntWrap(1);
 var i2 = new IntWrap(5);
 var i2 = new IntWrap(5);
@@ -158,4 +159,6 @@ vec[0] == -12;
 vec[1] == 0;
 vec[1] == 0;
 vec[2] == 99;
 vec[2] == 99;
 vec[3] == 101;
 vec[3] == 101;
+#end
+
 #end
 #end