[Issue 13156] New: `abstract` attribute should be disallowed in `interface`s
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Jul 18 04:13:19 PDT 2014
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: nobody at puremagic.com
Reporter: verylonglogin.reg at gmail.com
`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
}
---
--
More information about the Digitalmars-d-bugs
mailing list