'is' works on class type parameters

This commit is contained in:
Dmitry Jemerov
2011-06-30 18:23:34 +02:00
parent e72aec943e
commit 1bd4eaf474
3 changed files with 31 additions and 12 deletions
@@ -73,6 +73,10 @@ public class TypeInfoTest extends CodegenTestCase {
assertFalse((Boolean) foo.invoke(null));
}
public void testIsTypeParameter() throws Exception {
blackBoxFile("typeInfo/isTypeParameter.jet");
}
public void testAsSafeWithGenerics() throws Exception {
loadFile();
Method foo = generateFunction();