commit 21273579b095bfb01d6438a3f47f8526554e7da6
parent bb78b89134e922c9bd17292cd61cddb719117908
Author: Alexey Yerin <yyp@disroot.org>
Date: Fri, 27 Aug 2021 13:28:59 +0300
cmd/haredoc: emit error types in -Fhare
Signed-off-by: Alexey Yerin <yyp@disroot.org>
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/cmd/haredoc/hare.ha b/cmd/haredoc/hare.ha
@@ -14,6 +14,9 @@ fn emit_hare(ctx: *context) (void | error) = {
for (let i = 0z; i < len(summary.types); i += 1) {
details_hare(summary.types[i])?;
};
+ for (let i = 0z; i < len(summary.errors); i += 1) {
+ details_hare(summary.errors[i])?;
+ };
for (let i = 0z; i < len(summary.globals); i += 1) {
details_hare(summary.globals[i])?;
};