http://d.puremagic.com/issues/show_bug.cgi?id=3945
Summary: AssertExpression message should implicitly convert to const char[] Product: D Version: 2.041 Platform: All URL: http://digitalmars.com/d/2.0/expression.html#AssertExp ression OS/Version: All Status: NEW Keywords: spec Severity: normal Priority: P2 Component: www.digitalmars.com AssignedTo: nob...@puremagic.com ReportedBy: jlqu...@optonline.net --- Comment #0 from Jerry Quinn <jlqu...@optonline.net> 2010-03-12 22:27:13 PST --- AssertExpression states that a message if given must be convertible to char[]. That would prevent the use of a string constant in AssertExpression, since it is (immutable)char[] and not implicitly convertible to char[]. Here's the existing text: The second Expression, if present, must be implicitly convertible to type char[]. It is evaluated if the result is false, and the string result is appended to the AssertError's message. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------