digitalmars.D.bugs - [Phobos] std.utf error reporting
- J C Calvarese (18/18) Apr 26 2004 I've tested this with DMD 0.85 (or is it 0.86?). Instead of reporting
- Walter (3/7) May 02 2004 You are, of course, correct. Thanks!
I've tested this with DMD 0.85 (or is it 0.86?). Instead of reporting
the error message, std.utf prints out:
Error: s
I believe there's an easy fix. In phobos\std\utf.d change line 21 from
super("s");
to
super(s);
Here's an example of the error in action:
private import std.utf;
int main(char[][] Args)
{
dchar[] m_dstring;
m_dstring = toUTF32(cast(char[]) "\u0000\ubbbf\ufffe\u0a0d\u0d0a");
return 0;
}
--
Justin
http://jcc_7.tripod.com/d/
Apr 26 2004
"J C Calvarese" <jcc7 cox.net> wrote in message
news:c6kt6v$4bv$1 digitaldaemon.com...
I believe there's an easy fix. In phobos\std\utf.d change line 21 from
super("s");
to
super(s);
You are, of course, correct. Thanks!
May 02 2004








"Walter" <newshound digitalmars.com>