[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] patch: treat #t as alternative to else in cond
From: |
Evan Hanson |
Subject: |
Re: [Chicken-hackers] patch: treat #t as alternative to else in cond |
Date: |
Sat, 16 Nov 2013 08:54:45 +1300 |
On 2013-11-15 20:16, Peter Bex wrote:
> This should probably be handled in the scrutinizer
Yeah, as with any warnings in expand.scm that don't deal strictly with
the expansion at hand (so e.g. `else` would be checked, but not others).
But like you said, this is an easy one to warn about here for now.
> Attached is a patch that detects other constants as well, because that
> could be an even more common mistake than a plain #t.
Cool, applied.
Evan
Re: [Chicken-hackers] patch: treat #t as alternative to else in cond,
Evan Hanson <=