Fix mistake introduced in 591865b9: return copy of invalidated tags, not ref (fixes MPSCR-50)

This commit is contained in:
Grigorii Kirgizov 2020-03-12 10:57:13 +03:00
parent a2d28e566a
commit af0a118273
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ internal class ConstraintsProcessing(private var dispatchingFront: Dispatcher.Di
return SessionTokenImpl(histView, rules, principalState, logicalState.clear())
}
fun invalidatedRules(): Set<Any> = invalidatedRulesTags
fun invalidatedRules(): Set<Any> = HashSet<Any>(invalidatedRulesTags)
/**
* Called to update the state with the currently active constraint occurrence.