Skip to content

Commit 83cfb0d

Browse files
committed
Fix: add missing @child annotation.
1 parent 88a16d3 commit 83cfb0d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/foreign/ForeignObjectBuiltins.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public long len(Object self,
181181
}
182182

183183
abstract static class ForeignBinaryNode extends PythonBinaryBuiltinNode {
184-
@Child LookupAndCallBinaryNode op;
184+
@Child private LookupAndCallBinaryNode op;
185185
protected final boolean reverse;
186186

187187
protected ForeignBinaryNode(LookupAndCallBinaryNode op, boolean reverse) {
@@ -423,7 +423,7 @@ abstract static class RFloorDivNode extends ForeignBinaryNode {
423423
}
424424

425425
public abstract static class ForeignBinaryComparisonNode extends PythonBinaryBuiltinNode {
426-
@Child BinaryComparisonNode comparisonNode;
426+
@Child private BinaryComparisonNode comparisonNode;
427427

428428
protected ForeignBinaryComparisonNode(BinaryComparisonNode genericOp) {
429429
this.comparisonNode = genericOp;
@@ -634,7 +634,7 @@ public static CallNode create() {
634634
@Builtin(name = __GETITEM__, minNumOfPositionalArgs = 2)
635635
@GenerateNodeFactory
636636
abstract static class GetitemNode extends PythonBinaryBuiltinNode {
637-
@Child AccessForeignItemNodes.GetForeignItemNode getForeignItemNode = AccessForeignItemNodes.GetForeignItemNode.create();
637+
@Child private AccessForeignItemNodes.GetForeignItemNode getForeignItemNode = AccessForeignItemNodes.GetForeignItemNode.create();
638638

639639
@Specialization
640640
Object doit(Object object, Object key) {
@@ -645,7 +645,7 @@ Object doit(Object object, Object key) {
645645
@Builtin(name = __GETATTR__, minNumOfPositionalArgs = 2)
646646
@GenerateNodeFactory
647647
abstract static class GetattrNode extends PythonBinaryBuiltinNode {
648-
@Child PForeignToPTypeNode toPythonNode = PForeignToPTypeNode.create();
648+
@Child private PForeignToPTypeNode toPythonNode = PForeignToPTypeNode.create();
649649

650650
@Specialization
651651
protected Object doIt(Object object, String member,
@@ -705,7 +705,7 @@ protected PNone doIt(Object object, String key,
705705
@Builtin(name = __DELITEM__, minNumOfPositionalArgs = 2)
706706
@GenerateNodeFactory
707707
abstract static class DelitemNode extends PythonBinaryBuiltinNode {
708-
AccessForeignItemNodes.RemoveForeignItemNode delForeignItemNode = AccessForeignItemNodes.RemoveForeignItemNode.create();
708+
@Child private AccessForeignItemNodes.RemoveForeignItemNode delForeignItemNode = AccessForeignItemNodes.RemoveForeignItemNode.create();
709709

710710
@Specialization
711711
PNone doit(Object object, Object key) {

0 commit comments

Comments
 (0)