Browse Source

unit test fix

Simon Krajewski 12 years ago
parent
commit
ab78366939
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/unit/TestType.hx

+ 1 - 1
tests/unit/TestType.hx

@@ -602,7 +602,7 @@ class TestType extends Test {
 		return Std.string(a) + Std.string(b);
 	}
 
-	@:generic static function gf3 < A, B:Array<A> > (a:A, b:B) {
+	@:generic static function gf3 < A:{function new(s:String):Void;}, B:Array<A> > (a:A, b:B) {
 		var clone = new A("foo");
 		b.push(clone);
 		return b;