Have `procedure-arguments' always return the `allow-other-keys?' pair.
authorLudovic Courtès <ludo@gnu.org>
Sun, 1 Jul 2012 15:32:03 +0000 (17:32 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 2 Jul 2012 13:08:25 +0000 (15:08 +0200)
commita8215aedad433a15abf87c2310a41c684dfcef97
treef9ddc7f55dea06eea60f8f3529832a0ca0ccb174
parentbfdbea1f204f4c382a4b399469ca7dcc6cfacb28
Have `procedure-arguments' always return the `allow-other-keys?' pair.

Fixes <http://bugs.gnu.org/10938>.
Based on a patch by Stefan Israelsson Tampe <stefan.itampe@gmail.com>.

* module/ice-9/session.scm (procedure-arguments): When the 'arglist
  property is available, emit the `allow-other-keys?' pair.  Use
  `match-lambda'.

* test-suite/tests/session.test ("procedure-arguments")["aok? is
  preserved"]: New test.
module/ice-9/session.scm
test-suite/tests/session.test