diff graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/InterfaceChildFieldTest.java @ 18332:65a160d9d259

Truffle: add NodeInterface and require that all child fields be of this type
author Andreas Woess <andreas.woess@jku.at>
date Mon, 10 Nov 2014 19:29:08 +0100
parents c88ab4f1f04a
children
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/InterfaceChildFieldTest.java	Mon Nov 10 19:08:52 2014 +0100
+++ b/graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/InterfaceChildFieldTest.java	Mon Nov 10 19:29:08 2014 +0100
@@ -91,7 +91,7 @@
         }
     }
 
-    interface TestChildInterface {
+    interface TestChildInterface extends NodeInterface {
         int executeIntf();
     }