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(); } --