Skip to content

Commit 5611fcb

Browse files
authored
Merge pull request #818 from viperproject/meilers_fix_div_pretty
Make pretty printing of integer division unambiguous
2 parents 10b1b26 + a35395b commit 5611fcb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/scala/viper/silver/ast/Program.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ sealed abstract class RelOp(val op: String) extends BoolDomainFunc {
722722
case object AddOp extends SumOp("+") with IntBinOp with IntDomainFunc
723723
case object SubOp extends SumOp("-") with IntBinOp with IntDomainFunc
724724
case object MulOp extends ProdOp("*") with IntBinOp with IntDomainFunc
725-
case object DivOp extends ProdOp("/") with IntBinOp with IntDomainFunc
725+
case object DivOp extends ProdOp("\\") with IntBinOp with IntDomainFunc
726726
case object ModOp extends ProdOp("%") with IntBinOp with IntDomainFunc
727727

728728
// Arithmetic permission operators

0 commit comments

Comments
 (0)