Fix printing of variant types #56
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Currently we use the code
but when the variant doesn't expect argument we print a useless whitespace after the name of the constructor.
Suppose for instance that we define the usual bool variant then we'll have this printing
True<bool >
instead ofTrue<bool>