mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 11:55:27 -05:00
fb7e6ccba7
Previously field type errors would be reported in a non-standard way, and without any source location information. This fixes it. * gnu/services/configuration.scm (configuration-field-error): Add a 'loc' parameter and honor it. Use 'formatted-message' instead of plain 'format'. (define-configuration-helper)[field-sanitizer]: New procedure. Use it. Use STEM as the identifier of the syntactic constructor of the record type. Add a 'sanitize' property to each field. Remove now useless STEM macro that would call 'validate-configuration'. * gnu/services/mail.scm (serialize-listener-configuration): Adjust to new 'configuration-field-error' prototype. * tests/services/configuration.scm ("wrong type for a field"): New test. * po/guix/POTFILES.in: Add gnu/services/configuration.scm. |
||
---|---|---|
.. | ||
cs.po | ||
da.po | ||
de.po | ||
eo.po | ||
es.po | ||
fa.po | ||
fi.po | ||
fr.po | ||
hu.po | ||
it.po | ||
ja.po | ||
ko.po | ||
LINGUAS | ||
Makevars | ||
nl.po | ||
oc.po | ||
pl.po | ||
POTFILES.in | ||
pt_BR.po | ||
ru.po | ||
si.po | ||
sk.po | ||
sr.po | ||
sv.po | ||
ta.po | ||
uk.po | ||
vi.po | ||
zh_CN.po |