Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
Fixes #128
Browse files Browse the repository at this point in the history
outgoing propagation condition with null error type on right hand side
is now handled correctly in contains methods.
  • Loading branch information
reteprelief committed Apr 12, 2017
1 parent 5cf3789 commit 65e5a34
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ public static boolean contains(ErrorTypes constraint, ErrorTypes type) {
*/
public static boolean contains(ErrorType constraint, TypeSet ts) {
ts = EMV2Util.resolveAlias(ts);
if (ts == null)
return true;
for (TypeToken tselement : ts.getTypeTokens()) {
if (!contains(constraint, tselement)) {
return false;
Expand Down

0 comments on commit 65e5a34

Please sign in to comment.