File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/method Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 39
39
@ ExportLibrary (PythonObjectLibrary .class )
40
40
public final class PMethod extends PythonBuiltinObject {
41
41
42
- private final Object function ;
42
+ final Object function ;
43
43
private final Object self ;
44
44
45
45
public PMethod (LazyPythonClass cls , Object self , Object function ) {
@@ -69,12 +69,12 @@ public boolean isCallable() {
69
69
}
70
70
71
71
@ ExportMessage
72
- protected SourceSection getSourceLocation (@ CachedLibrary (limit = "1 " ) InteropLibrary lib ) throws UnsupportedMessageException {
72
+ protected SourceSection getSourceLocation (@ CachedLibrary ("this.function " ) InteropLibrary lib ) throws UnsupportedMessageException {
73
73
return lib .getSourceLocation (function );
74
74
}
75
75
76
76
@ ExportMessage
77
- protected boolean hasSourceLocation (@ CachedLibrary (limit = "1 " ) InteropLibrary lib ) {
77
+ protected boolean hasSourceLocation (@ CachedLibrary ("this.function " ) InteropLibrary lib ) {
78
78
return lib .hasSourceLocation (function );
79
79
}
80
80
}
You can’t perform that action at this time.
0 commit comments