Closed Mai-Lapyst closed 1 year ago
This PR adds an check for functions (and also con-/destructors) that have the @disable attribute and also have a body:
@disable
class C1 { @disable this() {} @disable { this() {} } this() @disable {} @disable void doThing() {} @disable doThing() {} @disable { void doThing() {} } void doThing() @disable {} @disable ~this() {} @disable { ~this() {} } ~this() @disable {} }
This PR adds an check for functions (and also con-/destructors) that have the
@disable
attribute and also have a body: