[Issue 4331] Struct invariants not called
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Jun 16 11:27:35 PDT 2010
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=4331
Stewart Gordon <smjg at iname.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|accepts-invalid             |wrong-code
                 CC|                            |smjg at iname.com
             Blocks|                            |2573
            Summary|Not called struct           |Struct invariants not
                   |invariants                  |called
--- Comment #1 from Stewart Gordon <smjg at iname.com> 2010-06-16 11:27:33 PDT ---
The StructBodyDeclaration syntax (both D1 and D2) includes Invariant. 
Therefore the code is legal, and the bug is that the compiler ignores it.
-- 
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