www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - D Bugzilla issue + bugreport

reply "Koroskin Denis" <2korden gmail.com> writes:
I'd like to submit two compiler bugs (1 crash and 1 internal assertion  =

failure),
but I have a problem with logging into bugzilla. I registered but got no=
  =

e-mail
sent to me. I tried to recover password but got the following message:

The e-mail address you entered (korDen) didn't pass our syntax checking =
 =

for a
legal email address. A legal address must contain exactly one ' ', and a=
t  =

least
one '.' after the  . It must also not contain any of these special  =

characters:
\ ( ) & < > , ; : " [ ], or any whitespace.

Could anyone submit them for me?

crash1.d:
module crash;
extern (Windows) {
	int    func(PRPC_RUNDOWN);
	alias void function(void*) PRPC_RUNDOWN;
}

dmd crash1.d
Assertion failure: 't->deco' on line 597 in file 'mtype.c'
abnormal program termination

DMD2.012 and DMD2.013 affected.

crash2.d:
struct Number
{
     public int value;

     static Number opCall(int value)
     {
         Number n =3D void;
         n.value =3D value;
         return n;
     }
}

class Crash
{
     Number number =3D Number(0);
}

crashes the compiler. All versions that I tested so far are affected.
Apr 27 2008
next sibling parent reply "Janice Caron" <caron800 googlemail.com> writes:
On 27/04/2008, Koroskin Denis <2korden gmail.com> wrote:
  The e-mail address you entered (korDen) didn't pass our syntax checking for
 a
  legal email address. A legal address must contain exactly one ' ', and at
 least
  one '.' after the  .
Seems to me that would be because the string "korDen" doesn't contain exactly one ' ', and at least one '.' after the .
Apr 27 2008
parent reply "Koroskin Denis" <2korden gmail.com> writes:
On Sun, 27 Apr 2008 15:13:09 +0400, Janice Caron <caron800 googlemail.com>  
wrote:

 On 27/04/2008, Koroskin Denis <2korden gmail.com> wrote:
  The e-mail address you entered (korDen) didn't pass our syntax  
 checking for
 a
  legal email address. A legal address must contain exactly one ' ', and  
 at
 least
  one '.' after the  .
Seems to me that would be because the string "korDen" doesn't contain exactly one ' ', and at least one '.' after the .
Oh, I'm sorry. It asked me for a login name and I misunderstood it. Thank you.
Apr 27 2008
parent "Janice Caron" <caron800 googlemail.com> writes:
On 27/04/2008, Koroskin Denis <2korden gmail.com> wrote:
  Oh, I'm sorry. It asked me for a login name and I misunderstood it. Thank
 you.
No problem. Mind you, the website did lie about one thing though. Despite puremagic's claim to the contrary, '&' /is/ a legal character in email addresses. I have submitted a bug report about that.
Apr 27 2008
prev sibling parent Gide Nwawudu <gide btinternet.com> writes:
On Sun, 27 Apr 2008 14:28:25 +0400, "Koroskin Denis"
<2korden gmail.com> wrote:

[snip]
Could anyone submit them for me?

crash1.d:
module crash;
extern (Windows) {
	int    func(PRPC_RUNDOWN);
	alias void function(void*) PRPC_RUNDOWN;
}

dmd crash1.d
Assertion failure: 't->deco' on line 597 in file 'mtype.c'
abnormal program termination
This bug has already been logged. http://d.puremagic.com/issues/show_bug.cgi?id=1994 Gide
Apr 27 2008