|
@@ -559,7 +559,7 @@ class TestType extends Test {
|
|
gf1(new haxe.Template("foo"));
|
|
gf1(new haxe.Template("foo"));
|
|
#end
|
|
#end
|
|
|
|
|
|
- gf1(new haxe.FastList<Int>());
|
|
|
|
|
|
+ gf1(new haxe.ds.GenericStack<Int>());
|
|
hsf(TestType, "gf1_Int");
|
|
hsf(TestType, "gf1_Int");
|
|
hsf(TestType, "gf1_String");
|
|
hsf(TestType, "gf1_String");
|
|
hsf(TestType, "gf1_Bool");
|
|
hsf(TestType, "gf1_Bool");
|
|
@@ -568,7 +568,7 @@ class TestType extends Test {
|
|
hsf(TestType, "gf1_haxe_Template");
|
|
hsf(TestType, "gf1_haxe_Template");
|
|
#end
|
|
#end
|
|
|
|
|
|
- hsf(TestType, #if (flash9 || cpp) "gf1_haxe_FastList_Int" #else "gf1_haxe_FastList" #end);
|
|
|
|
|
|
+ hsf(TestType, #if (flash9 || cpp) "gf1_haxe_ds_GenericStack_Int" #else "gf1_haxe_ds_GenericStack" #end);
|
|
t(typeError(gf1(null))); // monos don't work
|
|
t(typeError(gf1(null))); // monos don't work
|
|
t(typeError(gf1( { foo:1 } ))); // structures don't work
|
|
t(typeError(gf1( { foo:1 } ))); // structures don't work
|
|
|
|
|
|
@@ -703,7 +703,7 @@ class TestType extends Test {
|
|
eq(map.get(a), "foo");
|
|
eq(map.get(a), "foo");
|
|
eq(map.get(b), "bar");
|
|
eq(map.get(b), "bar");
|
|
t(Std.is(map, haxe.ds.HashMap));
|
|
t(Std.is(map, haxe.ds.HashMap));
|
|
-
|
|
|
|
|
|
+
|
|
//var map = new unit.MyAbstract.MyMap();
|
|
//var map = new unit.MyAbstract.MyMap();
|
|
//map.set(new haxe.Template("foo"), 99);
|
|
//map.set(new haxe.Template("foo"), 99);
|
|
//t(Std.is(map, unit.MyAbstract.PseudoObjectHash));
|
|
//t(Std.is(map, unit.MyAbstract.PseudoObjectHash));
|