Summary: @disable after function signature has no effect
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Kyle Foley <> 2010-05-05 15:08:01 PDT ---
DMD 2.045

int main(string[] args)
    void func() @disable {}


    return 0;


This compiles without any problems.  I don't know whether this should mark the
function as @disabled or whether it should flag a compile error for misusing
@disable.  Regardless, I don't think it should accept this code.

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

Reply via email to