create copy of typeInfo set in DataFlowInfo.or
This commit is contained in:
+1
-1
@@ -181,7 +181,7 @@ public class DataFlowInfo {
|
|||||||
|
|
||||||
ListMultimap<DataFlowValue, JetType> newTypeInfo = Multimaps.newListMultimap(Maps.<DataFlowValue, Collection<JetType>>newHashMap(), CommonSuppliers.<JetType>getArrayListSupplier());
|
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());
|
keys.retainAll(other.typeInfo.keySet());
|
||||||
|
|
||||||
for (DataFlowValue key : keys) {
|
for (DataFlowValue key : keys) {
|
||||||
|
|||||||
Reference in New Issue
Block a user