Fix bug that crept in d8cd05b7

parent fac4e3c3
...@@ -97,7 +97,7 @@ public class SSRVisitor extends VisitReturn<Object> { ...@@ -97,7 +97,7 @@ public class SSRVisitor extends VisitReturn<Object> {
if (isFieldAccess(x)) { if (isFieldAccess(x)) {
PrimSig s = getFirstPrimSig(x.left); PrimSig s = getFirstPrimSig(x.left);
if (!(s.builtin || isUsedInOpen(s))) if (!(s.builtin || isUsedInOpen(s)))
candidates.put(s, true); candidates.putIfAbsent(s, true);
} }
} }
else { else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment