[Issue 15604] std.array.array of structs with template opAssign and default initialised "new"ed class member.
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Fri Jan 29 12:34:53 PST 2016
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15604
David Nadlinger <code at klickverbot.at> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at klickverbot.at
--- Comment #2 from David Nadlinger <code at klickverbot.at> ---
As I pointed out in the GitHub issue, I'm not convinced that this is a
regression. Isn't it just an accepts-invalid bug in the compiler that the
struct declaration is considered valid in the first place?
>From looking at the codegen, I find it hard to imagine that the current
behavior (a single implicitly-shared object instance) would be what the user
would expect.
--
    
    
More information about the Digitalmars-d-bugs
mailing list