www.digitalmars.com         C & C++   DMDScript  

D - Internal error: ../ztc/cod1.c 2709

I get the error above, running DMD 0.64, using the following code:



class bar
{
  struct _sub
  {
    bit a;
    char[] d;
  };
  _sub mySub;
};

class foo
{
  bar._sub[] subArray;

  this(bar[] array)
  {
    for(int i=0; i<array.length; i++)
      subArray ~= array[i].mySub;
  };
};



--
The Villagers are Online! villagersonline.com

.[ (the fox.(quick,brown)) jumped.over(the dog.lazy) ]
.[ (a version.of(English).(precise.more)) is(possible) ]
?[ you want.to(help(develop(it))) ]
May 12 2003