[Issue 7597] Statically disallow a init() method in structs
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Apr 21 06:45:57 UTC 2020
    
    
  
https://issues.dlang.org/show_bug.cgi?id=7597
FeepingCreature <default_357-line at yahoo.de> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |default_357-line at yahoo.de
--- Comment #3 from FeepingCreature <default_357-line at yahoo.de> ---
*reaches up*
> It has been [0] days since a user was hit by this bug.
There's simply no value to this. If you want a constructor, write a
constructor. Overriding "T.init" is always an error, and should be reported as
one by the compiler.
--
    
    
More information about the Digitalmars-d-bugs
mailing list