GNU bug report logs -
#72382
srfi-64: test-with-runner requires some decl-or-expr
Previous Next
Reported by: Tomas Volf <~@wolfsden.cz>
Date: Tue, 30 Jul 2024 19:53:17 UTC
Severity: normal
Done: Tomas Volf <~@wolfsden.cz>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hello,
I think I found a bug in (srfi srfi-64) module shipped with GNU Guile.
test-with-runner has following signature:
(test-with-runner runner decl-or-expr ...)
That, according to syntax-case rules (and how test-apply works with the same
definition) should mean that it accepts 0 or more decl-or-expr. However that
does not seem to be the case:
(use-modules (srfi srfi-64))
(let ((r (test-runner-null)))
(test-with-runner r))
Leading to:
;;; Syntax error:
;;; unknown location: lambda: bad lambda in form (lambda ())
ice-9/psyntax.scm:2824:12: In procedure syntax-violation:
Syntax error:
unknown location: lambda: bad lambda in form (lambda ())
Have a nice day
Tomas Volf
This bug report was last modified 298 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.