On Friday, 7 July 2023 at 10:01:41 UTC, Richard (Rikki) Andrew Cattermole wrote:
Static does do something on functions when they are not free-functions.

https://dlang.org/spec/attribute.html#static


Well yes, I even mentioned that in the OP. It's just that I'd expect using `static` "incorrectly" to cause an error, like `const` does. Instead, marking something as `static` *actually* does nothing, and nothing really tells you, so it causes a bit of a placebo effect.

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

Thank you! :)
  • `static` on modu... IchorDev via Digitalmars-d-learn
    • Re: `static... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: `st... IchorDev via Digitalmars-d-learn
        • Re:... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
          • ... IchorDev via Digitalmars-d-learn
            • ... Steven Schveighoffer via Digitalmars-d-learn
              • ... Paul Backus via Digitalmars-d-learn
              • ... IchorDev via Digitalmars-d-learn

Reply via email to