Skip to content
Snippets Groups Projects
Commit 595dd5d1 authored by Etienne Kneuss's avatar Etienne Kneuss
Browse files

Use the name instead of the case-object name

parent f5cb4224
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,9 @@ class VerificationCondition(val condition: Expr, val funDef: FunDef, val kind: V
}
}
abstract class VCKind(val name: String, val abbrv: String)
abstract class VCKind(val name: String, val abbrv: String) {
override def toString = name
}
case object VCPrecondition extends VCKind("precondition", "precond.")
case object VCPostcondition extends VCKind("postcondition", "postcond.")
case object VCAssert extends VCKind("body assertion", "assert.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment