Summary

eggs that are misusing the assert macro

Metadata

Description

Recent changes enforce the msg argument of assert to be a string. This triggers an error in

For details see for example this salmonella report: http://tests.call-cc.org/master/linux/x86/2012/03/07/salmonella-report/

I am attaching this to juergen since most of this are his, alaric in CC for ugarit...

Changes and comments

[2012-03-12 17:44:13 UTC] alaric wrote:

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!

[2012-04-16 15:13:37 UTC] felix removed milestone 4.8.0

[2012-05-20 21:24:46 UTC] juergen changed status from new to closed

[2012-05-20 21:24:46 UTC] juergen set resolution to worksforme