Skip to content

Commit e198a5e

Browse files
committed
Fix: 'LookupAttributeInMRO.Dynamic' node should accept native class.
1 parent 1a2e4bc commit e198a5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/attributes/LookupAttributeInMRONode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ protected Object lookup(PythonBuiltinClassType klass, Object key) {
8888
}
8989

9090
@Specialization(replaces = "lookupConstantMRO")
91-
protected Object lookup(ManagedPythonClass klass, Object key,
91+
protected Object lookup(AbstractPythonClass klass, Object key,
9292
@Cached("create()") GetMroNode getMroNode,
9393
@Cached("createForceType()") ReadAttributeFromObjectNode readAttrNode) {
9494
return LookupAttributeInMRONode.lookupSlow(klass, key, getMroNode, readAttrNode);

0 commit comments

Comments
 (0)