Don <> changed:

           What    |Removed                     |Added
         Depends on|                            |6221

--- Comment #4 from Don <> 2011-06-29 01:38:57 PDT ---
This works in git master, if opCmp has signature
int opCmp(S rhs)            instead of 
int opCmp(const ref S rhs).

The problem lies in enum.c, which tries to determine max and min for the enum
by comparing the each element in the enum. Since they are struct literals, they
aren't lvalues, so 'const ref' fails.
This is an example of bug 6221.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to