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



--- Comment #6 from bearophile_h...@eml.cc 2011-10-31 05:39:53 PDT ---
(In reply to comment #4)

> This is not related.

You are right, it's not related, it's a different problem.


> And, the assignment an element type into static array is valid.
> 
>   int[10] sa;
>   sa = 10;  // translated to sa[] = 10

It's currently valid, but I think it should be forbidden. I think D should
require the [] here. See bug 3971

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

Reply via email to