[Issue 3971] Syntax & semantics for array assigns
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue May  4 09:43:58 PDT 2010
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=3971
--- Comment #12 from Don <clugdbug at yahoo.com.au> 2010-05-04 09:43:56 PDT ---
(In reply to comment #11)
> Such behavior is very bug-prone: in the case of tag array it does matter
> whether you meant array op or array itself as value, see bug 3395 comment 2. If
> compiler can distinguish between x and x[] it can raise error, but judging from
> what you tell, compiler tries to assume.
Walter has just clarified this in the newsgroup: it is intended to be mandatory
to use [] inside array expressions. I have made a patch which enforces this.
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list