May 24, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2130

           Summary: Qualifier does not apply to multiple typed definition
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: andrei@metalanguage.com


This works:

invariant
   a = 0,
   b = 1;

This does not work:

invariant
   size_t a = 0,
   int b = 1;

It should work.


-- 

June 16, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2130


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #1 from bugzilla@digitalmars.com  2008-06-15 20:15 -------
This is by design. If there are multiple declarations separated by commas, the type can only appear on the first one, and the same type applies to all the declarations.


--