http://d.puremagic.com/issues/show_bug.cgi?id=8848
bearophile_h...@eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bearophile_h...@eml.cc --- Comment #1 from bearophile_h...@eml.cc 2012-10-18 02:56:16 PDT --- (In reply to comment #0) > The template spec says that they are valid (both D1 and D2), So are associative arrays accepted, but simple arrays aren't? template Foo(int[] X) {} template Bar(int[5] X) {} void main() {} ==> test.d(1): Error: arithmetic/string type expected for value-parameter, not int[] test.d(2): Error: arithmetic/string type expected for value-parameter, not int[5u] -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------