http://d.puremagic.com/issues/show_bug.cgi?id=7432


Andrej Mitrovic <andrej.mitrov...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrov...@gmail.com


--- Comment #2 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2012-10-26 
17:22:02 PDT ---
The problem is there can be a pure block such as this one in object.di:

class TypeInfo_Struct : TypeInfo
{
  @safe pure nothrow
  {
    uint function(in void*)               xtoHash;
    bool function(in void*, in void*) xopEquals;
    int function(in void*, in void*)      xopCmp;
    string function(in void*)             xtoString;

    uint m_flags;  // << problem
  }
 }

I don't know whether the front-end makes any difference between declarations in
attribute blocks and those who have a direct attribute in one statement. If
not, it's probably not fixable without breaking code.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to