[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #797: eggs that are misusing the assert macro
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #797: eggs that are misusing the assert macro |
Date: |
Mon, 12 Mar 2012 16:44:13 -0000 |
#797: eggs that are misusing the assert macro
-------------------------+--------------------------------------------------
Reporter: ckeen | Owner: juergen
Type: defect | Status: new
Priority: major | Milestone: 4.8.0
Component: extensions | Version: 4.7.x
Resolution: | Keywords: assert eggs macro
-------------------------+--------------------------------------------------
Comment(by alaric):
Is it a misuse of assert to have an expression that generates a string as
the message? I'd argue that this is a useful feature, to dynamically
generate more informative assertion failure messages :-)
I have submitted a patch to chicken-hackers that would re-enable this;
let's see if consensus is that assert needs to have a static string
argument!
--
Ticket URL: <http://bugs.call-cc.org/ticket/797#comment:1>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.