aboutsummaryrefslogtreecommitdiff
path: root/tests/print.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/print.scm')
0 files changed, 0 insertions, 0 deletions
ogheader'>2019-01-22records: Detect duplicate field initializers.Ludovic Courtès * guix/records.scm (report-duplicate-field-specifier): New procedure. (make-syntactic-constructor): Call it. * tests/records.scm ("define-record-type* & duplicate initializers"): New test. Co-authored-by: Mark H Weaver <mhw@netris.org> 2018-08-31records: Adjust to test changes in 'record-abi-mismatch-error'.Ludovic Courtès Fixes a test failure introduced in de5cbd4a38a33e0412f1c481fe8e01a871dc13e5. * guix/records.scm (abi-check): Refer to TYPE in an unquoted context so we get at the RTD. * tests/records.scm ("ABI checks"): Adjust 'catch' handler to changes in the 'record-abi-mismatch-error' arguments. 2018-05-23records: Insert record type ABI checks in constructors.Ludovic Courtès * guix/records.scm (print-record-abi-mismatch-error): New procedure. <top level>: Add 'set-exception-printer!' call. (current-abi-identifier, abi-check): New procedures. (make-syntactic-constructor): Add #:abi-cookie parameter. Insert calls to 'abi-check'. (define-record-type*)[compute-abi-cookie]: New procedure. Use it and emit a definition of the 'current-abi-identifier' for TYPE. * tests/records.scm ("ABI checks"): New test. 2016-07-14records: Improve reporting of invalid field specifiers.Ludovic Courtès Fixes <http://bugs.gnu.org/23969>. Reported by Vincent Legoll <vincent.legoll@gmail.com>. * guix/records.scm (report-invalid-field-specifier): New procedure. * tests/records.scm ("define-record-type* & wrong field specifier"): New test.