Closed dbp closed 10 months ago
So this actually does verify because Rosette will represent the output of letter-grade
as an exact union. It didn't do so only because member
wasn't lifted so the symbolic union was causing an error. You're right, though, that we could do something better about the error. It's not exactly wrong, per se, since it is showing the value that makes the contract fail. However, it isn't showing the generated values that eventually caused the error. We'll have to think more carefully about how to best display that information because in general there may be many generated values.
So this involves strings, so I expect it not to work (unless Rosette can do some magic and figure out they are constants, but...), but the error is not helpful:
Produces: