Skip to content

Commit 68981f0

Browse files
committed
Added a typecast to work around issue that the types did not match because of the use of an interface
Signed-off-by: Stefan Marr <git@stefan-marr.de>
1 parent cd7f436 commit 68981f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/node/NodeCodeGenerator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,7 @@ private ExecutableElement createGetFactories(NodeData node) {
794794

795795
for (NodeData child : children) {
796796
builder.startGroup();
797+
builder.cast(Utils.getSimpleName(baseType));
797798
NodeData childNode = child;
798799
List<NodeData> factories = new ArrayList<>();
799800
while (childNode.getDeclaringNode() != null) {

0 commit comments

Comments
 (0)