[Issue 1276] static assert message displayed with escaped characters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 19 04:15:08 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1276





------- Comment #1 from davidl at 126.com  2007-06-19 06:15 -------
Oh, u need to define valid escape sequence usable in that static assert
specifically

consider:

static assert(false, "%s");

what supposed to be happen? surely not segfault or arbitrary strings.
so only \ leading ones need to be taken care of specially. while this
complicates the compiler. I doubt if walter would love to implement it
in the near future  :)


-- 



More information about the Digitalmars-d-bugs mailing list