www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Error could be more useful

reply Regan Heath <regan netwin.co.nz> writes:
The error:

Error: lengths don't match for array copy

could use a file and line number. The array bounds one have them.

Regan.

-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Jun 18 2004
next sibling parent reply "Vathix" <vathixSpamFix dprogramming.com> writes:
"Regan Heath" <regan netwin.co.nz> wrote in message
news:opr9tcvunq5a2sq9 digitalmars.com...
 The error:

 Error: lengths don't match for array copy

 could use a file and line number. The array bounds one have them.

 Regan.

Also, the missing default case SwitchError could use line numbers. A couple times it hit me and I had to look through dozens of switches to find which.
Jun 18 2004
parent reply Charlie <Charlie_member pathlink.com> writes:
And in deriving from a class with an abstract method, i get a weird message

constructor this (uint delegate(EventArgs args)event) does not match argument
types () Error: expected 1 arguments, not 0

which could use a line number, and this error doesnt mention the problem of not
overriding the abstract.



In article <cb05r5$lih$1 digitaldaemon.com>, Vathix says...
"Regan Heath" <regan netwin.co.nz> wrote in message
news:opr9tcvunq5a2sq9 digitalmars.com...
 The error:

 Error: lengths don't match for array copy

 could use a file and line number. The array bounds one have them.

 Regan.

Also, the missing default case SwitchError could use line numbers. A couple times it hit me and I had to look through dozens of switches to find which.

Jun 18 2004
parent Charlie <Charlie_member pathlink.com> writes:
Err scratch that completely, im a moron :/.  But that error message could use a
line number also :).

C

In article <cb07av$o14$1 digitaldaemon.com>, Charlie says...
And in deriving from a class with an abstract method, i get a weird message

constructor this (uint delegate(EventArgs args)event) does not match argument
types () Error: expected 1 arguments, not 0

which could use a line number, and this error doesnt mention the problem of not
overriding the abstract.



In article <cb05r5$lih$1 digitaldaemon.com>, Vathix says...
"Regan Heath" <regan netwin.co.nz> wrote in message
news:opr9tcvunq5a2sq9 digitalmars.com...
 The error:

 Error: lengths don't match for array copy

 could use a file and line number. The array bounds one have them.

 Regan.

Also, the missing default case SwitchError could use line numbers. A couple times it hit me and I had to look through dozens of switches to find which.


Jun 18 2004
prev sibling parent Regan Heath <regan netwin.co.nz> writes:
On Sat, 19 Jun 2004 11:29:44 +1200, Regan Heath <regan netwin.co.nz> wrote:
 Error: lengths don't match for array copy

 could use a file and line number. The array bounds one have them.

Still broken (not optimal) as of v0.94. Walter: pls tell me to sod off if reminding annoys you. -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Jun 27 2004