Skip to content

Commit

Permalink
added an assert
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenvinju committed Nov 2, 2023
1 parent 879bff9 commit 500536d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/org/rascalmpl/values/RascalValueFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -1046,6 +1046,7 @@ private static class Amb implements ITree {
protected final ISet alternatives;

public Amb(ISet alts) {
assert alts.size() > 0;
this.alternatives = alts;
}

Expand Down

0 comments on commit 500536d

Please sign in to comment.