Simon Krajewski преди 11 години
родител
ревизия
119a8de70a
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      tests/unit/issues/Issue2343.hx

+ 3 - 0
tests/unit/issues/Issue2343.hx

@@ -15,5 +15,8 @@ class Issue2343 extends unit.Test {
 	function test() {
 		var foo = new Foo<MyInt>(1);
 		eq(1, foo.result);
+
+		// we cannot actually test this because it is delayed
+		//t(unit.TestType.typeError(var foo2 = new Foo<String>("1")));
 	}
 }