chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH] Fix invalid assertions in scrutiny-tests-2.scm


From: Evan Hanson
Subject: [Chicken-hackers] [PATCH] Fix invalid assertions in scrutiny-tests-2.scm
Date: Thu, 2 Jan 2014 21:05:10 +1300

Hi,

Here's a patch for #1063. Currently, scrutiny-tests-2.scm contains
invalid assertions, but because it's never run (only compiled for its
scrutiny output), they never triggered errors.

This fixes those assertions. It also replaces the `let` with a `let*` so
that u is correctly bound in the test; this avoids another error should
the test actually run, but also means the call to `list` flattens p's
type from (pair fixnum fixnum) to just pair, which is why there's a
change to the expected output.

https://bugs.call-cc.org/ticket/1063

Hopefully that all makes sense,

Evan

Attachment: 0001-Fix-invalid-assertions-in-scrutiny-tests-2.scm.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]