--- Comment #2 from S´┐Żnke Ludwig <> 2010-02-27 
03:44:47 PST ---
Unfortunately, the workaround also errors out with (although I did not check a
current svn build):

test.d(6): Error: this.arr[] = cast(const(int[]))x cannot be evaluated at
compile time

But this gave me finally another idea, which seems to work:

struct test {
  int[1] f;

  this(int x){
    int[] dst = f;
    dst[0] = x;

[Now off to some code porting and finally trying out the recent features...

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to