[Issue 8638] built-in array opSliceAssign fails with user defined	opAssign
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun Sep 16 14:13:26 PDT 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=8638
monarchdodra at gmail.com changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
--- Comment #2 from monarchdodra at gmail.com 2012-09-16 14:14:17 PDT ---
Just wanted to document that the issue also exists for opOpAssign:
--------
struct S
{
    void opOpAssign(int);
}
void main()
{
    S[] ss;
    ss[]+=1;
}
--------
Also, I'm not 100% sure if this is a bug or not, but I believe it *should*
work, so I'm re-labeling as ER
-- 
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