hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit b8515b90e2076a24bff09366dc833cd6f33133e2
parent 4df4835125b9f78e0aedec704cca4c6c1ea231e5
Author: Ember Sawady <ecs@d2evs.net>
Date:   Thu, 18 May 2023 17:34:29 +0000

cmd/haredoc: fix formatting of types in globals

Signed-off-by: Ember Sawady <ecs@d2evs.net>

Diffstat:
Mcmd/haredoc/tty.ha | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmd/haredoc/tty.ha b/cmd/haredoc/tty.ha @@ -165,7 +165,7 @@ fn unparse_tty(out: io::handle, d: ast::decl) (size | io::error) = { case let ty: *ast::_type => n += render(out, syn::PUNCTUATION)?; n += fmt::fprint(out, ": ")?; - n += type_html(out, 0, *ty, false)?; + n += type_tty(out, 0, *ty)?; }; if (i + 1 < len(g)) { n += render(out, syn::PUNCTUATION)?; @@ -186,7 +186,7 @@ fn unparse_tty(out: io::handle, d: ast::decl) (size | io::error) = { case let ty: *ast::_type => n += render(out, syn::PUNCTUATION)?; n += fmt::fprint(out, ": ")?; - n += type_html(out, 0, *ty, false)?; + n += type_tty(out, 0, *ty)?; }; if (i + 1 < len(c)) { n += render(out, syn::PUNCTUATION)?;