http://d.puremagic.com/issues/show_bug.cgi?id=8848



--- Comment #2 from Don <clugd...@yahoo.com.au> 2012-10-19 02:40:26 PDT ---
(In reply to comment #1)
> (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() {}

No, the current DMD accepts neither arrays or AAs in declarations. But both can
be passed in template tuple parameters.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to