www.digitalmars.com         C & C++   DMDScript  

D - Bug

reply Russell Lewis <spamhole-2001-07-16 deming-os.org> writes:
The following source:
   struct MyType {}
   int main()
   {
         alias MyType*[] Hack;
         MyType*[]* var = new Hack;
         return 0;
   }

Crashes DLI (D-Linux port) with the following error:
   assertion failure "arguments && arguments->dim" at expression.cpp:1329
Sep 20 2002
next sibling parent "Walter" <walter digitalmars.com> writes:
Got it!
Sep 20 2002
prev sibling parent reply Burton Radons <loth users.sourceforge.net> writes:
Russell Lewis wrote:
 The following source:
   struct MyType {}
   int main()
   {
         alias MyType*[] Hack;
         MyType*[]* var = new Hack;
         return 0;
   }
 
 Crashes DLI (D-Linux port) with the following error:
   assertion failure "arguments && arguments->dim" at expression.cpp:1329
Walter's fault. "new Hack [1]" should be right.
Sep 22 2002
parent "Walter" <walter digitalmars.com> writes:
"Burton Radons" <loth users.sourceforge.net> wrote in message
news:aml0s8$2d71$1 digitaldaemon.com...
 Walter's fault.
Not again <g>.
Sep 22 2002