www.digitalmars.com         C & C++   DMDScript  

D - 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/
Jan 10 2004