create copy of typeInfo set in DataFlowInfo.or

This commit is contained in:
Alexander Udalov
2012-06-15 19:29:38 +04:00
parent 3bb14ecd7f
commit 3e3b184ba8
@@ -181,7 +181,7 @@ public class DataFlowInfo {
ListMultimap<DataFlowValue, JetType> newTypeInfo = Multimaps.newListMultimap(Maps.<DataFlowValue, Collection<JetType>>newHashMap(), CommonSuppliers.<JetType>getArrayListSupplier());
Set<DataFlowValue> keys = typeInfo.keySet();
Set<DataFlowValue> keys = Sets.newHashSet(typeInfo.keySet());
keys.retainAll(other.typeInfo.keySet());
for (DataFlowValue key : keys) {