Skip to content

Commit a9d592f

Browse files
committed
Fix style.
1 parent 712591a commit a9d592f

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/builtins/objects/cext/PyNumberMethodsWrapperMR.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ abstract static class ReadMethodNode extends PNodeWithContext {
9595

9696
public abstract Object execute(PythonClass clazz, String key);
9797

98-
@Specialization(limit = "99", guards = {"key == cachedKey"})
98+
@Specialization(limit = "99", guards = {"eq(cachedKey, key)"})
9999
Object getMethod(PythonClass clazz, @SuppressWarnings("unused") String key,
100100
@Cached("key") @SuppressWarnings("unused") String cachedKey,
101101
@Cached("createLookupNode(cachedKey)") LookupAttributeInMRONode lookupNode) {

0 commit comments

Comments
 (0)