https://issues.dlang.org/show_bug.cgi?id=13156

          Issue ID: 13156
           Summary: `abstract` attribute should be disallowed in
                    `interface`s
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: [email protected]
          Reporter: [email protected]

`abstract` attribute should be disallowed in `interface`s in any way as it does
nothing except confuses people.

This code should NOT compile:
---
interface I
{
    abstract void f();      // should be error
    abstract { void g(); }  // should be error
    abstract: void h();     // should be error
}
---

--

Reply via email to