Skip to content

Commit 2d5dae3

Browse files
committed
Fixed incorrect access to symbolic map records
1 parent 5d0df97 commit 2d5dae3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

approximations/src/main/java/runtime/LibSLRuntime.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -880,6 +880,8 @@ public static <K> boolean equals(final Map<K, ?> a, final Map<K, ?> b) {
880880
while (length != 0) {
881881
final K key = unseen.anyKey();
882882

883+
if (!b.hasKey(key))
884+
return false;
883885
if (!equals(a.get(key), b.get(key)))
884886
return false;
885887

0 commit comments

Comments
 (0)