Skip to content

Commit b7a5519

Browse files
committed
add missing cache value
1 parent 25633cd commit b7a5519

File tree

1 file changed

+2
-2
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/common

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/common/HashingStorage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ public HashingStorage diff(HashingStorage other,
544544
}
545545

546546
@ExportMessage
547-
public Iterator<Object> values(@CachedLibrary(limit = "1") HashingStorageLibrary lib) {
547+
public Iterator<Object> values(@CachedLibrary("this") HashingStorageLibrary lib) {
548548
return new ValuesIterator(this, lib);
549549
}
550550

@@ -565,7 +565,7 @@ public Object next() {
565565
}
566566

567567
@ExportMessage
568-
public Iterator<DictEntry> entries(@CachedLibrary(limit = "1") HashingStorageLibrary lib) {
568+
public Iterator<DictEntry> entries(@CachedLibrary("this") HashingStorageLibrary lib) {
569569
return new EntriesIterator(this, lib);
570570
}
571571

0 commit comments

Comments
 (0)