January 10, 2004 bug: std.utf error messages | ||||
---|---|---|---|---|
| ||||
I got an error using std.utf and error message says:
Error: s
That didn't seem very specific or helpful, so I looked at std.utf and found a minor bug.
*Line 21 should be:*
super(s);
class UtfError : Error
{
uint idx; // index in string of where error occurred
this(char[] s, uint i)
{
idx = i;
super("s"); /* should be super(s); */
}
}
--
Justin
http://jcc_7.tripod.com/d/
|
Copyright © 1999-2021 by the D Language Foundation