www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - dmd 122 wrong function parameters bugs

reply bobef <bobef paintballforce.com> writes:
Now I'm sure- passing wrong function parameters crashes dmd 122. I mean 
wrong type...
May 08 2005
parent reply "Walter" <newshound digitalmars.com> writes:
"bobef" <bobef paintballforce.com> wrote in message
news:d5lunl$2el9$1 digitaldaemon.com...
 Now I'm sure- passing wrong function parameters crashes dmd 122. I mean
 wrong type...

Can you post an example?
May 08 2005
parent reply Derek Parnell <derek psych.ward> writes:
On Sun, 8 May 2005 15:48:18 -0700, Walter wrote:

 "bobef" <bobef paintballforce.com> wrote in message
 news:d5lunl$2el9$1 digitaldaemon.com...
 Now I'm sure- passing wrong function parameters crashes dmd 122. I mean
 wrong type...

Can you post an example?

This is the same error that was posted an hour after you announced v0.122, and to which you responded... -------------------------------------------
"Thomas Kuehne" <thomas-dloop kuehne.thisisspam.cn> wrote in message
news:kmnnk2-b94.ln1 lnews.kuehne.cn...
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1

 Walter schrieb am Wed, 4 May 2005 12:33:53 -0700:
 More bug fixes.

 http://www.digitalmars.com/d/changelog.html

src/dmd/func.c:1047 contains a debug left-over

Criminy.

Does this ring a bell? .... --------------------- if (m.last == MATCHnomatch) { tf = (TypeFunction *)type; error(loc, "%s does not match argument types (%s)", Argument::argsTypesToChars(tf->arguments, tf->varargs), buf.toChars()); *(char*)0=0; return m.anyf; // as long as it's not a FuncAliasDeclaration } --------------------- -- Derek Melbourne, Australia 9/05/2005 9:43:22 AM
May 08 2005
parent "Walter" <newshound digitalmars.com> writes:
"Derek Parnell" <derek psych.ward> wrote in message
news:n6bak1gp0aj1.100g0pbjelk0f$.dlg 40tude.net...
 On Sun, 8 May 2005 15:48:18 -0700, Walter wrote:

 "bobef" <bobef paintballforce.com> wrote in message
 news:d5lunl$2el9$1 digitaldaemon.com...
 Now I'm sure- passing wrong function parameters crashes dmd 122. I mean
 wrong type...

Can you post an example?

This is the same error that was posted an hour after you announced v0.122, and to which you responded...

Oh, right. Sorry.
May 08 2005