Bläddra i källkod

[java/cs] Added test. Closes #3127

Cauê Waneck 10 år sedan
förälder
incheckning
72cfa7395d
1 ändrade filer med 14 tillägg och 0 borttagningar
  1. 14 0
      tests/unit/src/unit/issues/Issue3127.hx

+ 14 - 0
tests/unit/src/unit/issues/Issue3127.hx

@@ -0,0 +1,14 @@
+package unit.issues;
+
+class Issue3127 extends Test
+{
+	public function test()
+	{
+		new V<Int>(3);
+		var v = new V<Int>(3);
+		v[0] = 1;
+		eq(v[0],1);
+	}
+}
+
+private typedef V<T> = haxe.ds.Vector<T>;