Skip to content

Commit

Permalink
Change polarity of Set to Positive in TypeChecker (#1602)
Browse files Browse the repository at this point in the history
* Change polarity of Set to Positive in TypeChecker

* strictly positive
  • Loading branch information
samuelchassot authored Dec 3, 2024
1 parent 50fac15 commit a03cd05
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class TypeChecker(val program: StainlessProgram, val context: inox.Context, val
}

case object SetEdge extends Edge {
def polarity(polarities: mutable.Map[(Identifier,Identifier),Polarity]) = Nothing
def polarity(polarities: mutable.Map[(Identifier,Identifier),Polarity]) = StrictlyPositive
}

case object BagEdge extends Edge {
Expand Down

0 comments on commit a03cd05

Please sign in to comment.