So about the issue, it at least is a known one: js_dump.ml build error when using `String(string)` variant in untagged union with other tag · Issue #6495 · rescript-lang/rescript-compiler · GitHub
I don’t think it would improve how that variant is printed anymore, since variant tags went from being compiled to integers to strings that contain the tag name already.