Hi, Here's a small qol improvement.
>From b626cdb4038222690e0ca182cfc1fba2665d473b Mon Sep 17 00:00:00 2001 From: megane <[email protected]> Date: Thu, 20 Jun 2019 10:45:59 +0300 Subject: [PATCH] Report undefined identifiers in order of appearance Currently identifiers in (foo bar baz) are reported in reverse order, starting from baz. If foo is a missing macro, the warning messages can get quite confusing. It helps if that missing foo is reported first. --- modules.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.scm b/modules.scm index f0cd1447..c1442a03 100644 --- a/modules.scm +++ b/modules.scm @@ -520,7 +520,7 @@ (write-char #\) out)) a)))) (##sys#warn (get-output-string out)))))) - (module-undefined-list mod)) + (reverse (module-undefined-list mod))) (when missing (##sys#error "module unresolved" name)) (let* ((iexports -- 2.17.1
_______________________________________________ Chicken-hackers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-hackers
