Merge pull request #76 from udalov/dataflowinfo-or

create copy of typeInfo set in DataFlowInfo.or
This commit is contained in:
Nikolay Krasko
2012-06-15 09:02:13 -07:00
@@ -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) {