diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-07-25 17:54:20 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-07-25 19:11:36 +0200 |
commit | 860f3d77495aad0061c4ee9b6de73d6fe9fc40e9 (patch) | |
tree | 9e876dc8a9c11588229f766fd471d6423b2ff7cf /tests/packages.scm | |
parent | efe037fc5cc3134bbc3ef4e36b49a3f788921b68 (diff) | |
download | guix-patches-860f3d77495aad0061c4ee9b6de73d6fe9fc40e9.tar guix-patches-860f3d77495aad0061c4ee9b6de73d6fe9fc40e9.tar.gz |
diagnostics: Add a procedural variant of diagnostic procedures.
Callers can pass 'report-error', 'warning', etc. to 'apply'.
* guix/diagnostics.scm (trivial-format-string?): New procedure, moved
from...
(highlight-argument): ... here.
(define-diagnostic): Add 'identifier?' clause.
(emit-diagnostic): New procedure.
Diffstat (limited to 'tests/packages.scm')
0 files changed, 0 insertions, 0 deletions