digitalmars.D.learn - static assert
- Jack Applegame (5/5) Nov 29 2012 Another funny thing.
- bearophile (6/10) Nov 29 2012 This is known problem, it's already in Bugzilla, and maybe
Another funny thing. import std.conv; static assert(0, "1 != " ~ text(2)); outputs Error: static assert ['1',' ','!','=',' ','2']
Nov 29 2012
Jack Applegame:import std.conv; static assert(0, "1 != " ~ text(2)); outputs Error: static assert ['1',' ','!','=',' ','2']This is known problem, it's already in Bugzilla, and maybe there's already a patch for it (there are about one hundred patches waiting in Bugzilla). Bye, bearophile
Nov 29 2012