Closed vkuncak closed 1 month ago
Printing trees with command
stainless Vector.scala --solvers=smt-cvc5 --timeout=3 --watch --debug=trees --debug-phases=TypeEncoding
I noticed this printout, which uses abbreviated set notation, but I think we should use normal Scala parsable notation for sets:
[ Debug ] @library [ Debug ] def content[T](thiss: List[T]): Set[T] = thiss match { [ Debug ] case Nil() => [ Debug ] {} [ Debug ] case Cons(h, t) => [ Debug ] {h} ++ content[T](t) [ Debug ] }
Fixed by https://github.com/epfl-lara/inox/pull/216
https://github.com/epfl-lara/inox/pull/216
Printing trees with command
I noticed this printout, which uses abbreviated set notation, but I think we should use normal Scala parsable notation for sets: