generate checkcast instruction for 'as' calls; use accessors for accessing fields of other instances of the same class

This commit is contained in:
Dmitry Jemerov
2011-06-17 13:36:51 +02:00
parent 6d1823ac2a
commit 54d2f25d75
5 changed files with 39 additions and 9 deletions
@@ -404,4 +404,8 @@ public class NamespaceGenTest extends CodegenTestCase {
public void testNamespaceQualifiedMethod() throws Exception {
blackBoxFile("namespaceQualifiedMethod.jet");
}
public void testCheckCast() throws Exception {
blackBoxFile("checkCast.jet");
}
}