hare

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

commit 8ba4ede1175f7a8cf775c03dd1ad645183d73081
parent 7bb1b98be24f4191d697b94670d9fd226bfda400
Author: Drew DeVault <sir@cmpwn.com>
Date:   Tue, 20 Apr 2021 13:11:54 -0400

haredoc: sort errors

Diffstat:
Mcmd/haredoc/sort.ha | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/cmd/haredoc/sort.ha b/cmd/haredoc/sort.ha @@ -60,6 +60,7 @@ fn sort_decls(decls: []ast::decl) summary = { }; }; + sort::sort(sorted.errors, size(ast::decl), &decl_cmp); sort::sort(sorted.types, size(ast::decl), &decl_cmp); sort::sort(sorted.globals, size(ast::decl), &decl_cmp); sort::sort(sorted.funcs, size(ast::decl), &decl_cmp);