April 27, 2004 [Phobos] std.utf error reporting | ||||
---|---|---|---|---|
| ||||
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/ |
May 03, 2004 Re: [Phobos] std.utf error reporting | ||||
---|---|---|---|---|
| ||||
Posted in reply to J C Calvarese | "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! |
Copyright © 1999-2021 by the D Language Foundation