[Issue 14395] default value collapsed (dmd2.067)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Apr 2 08:08:32 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14395

--- Comment #1 from Ketmar Dark <ketmar at ketmar.no-ip.org> ---
slightly minimized sample:

int V2u (uint[1] ar...) {
  return ar[0];
}

void print (int size=V2u(7)) {
  assert(size == 7);
}

void main () {
  print();
}

--


More information about the Digitalmars-d-bugs mailing list