Skip to content

Document callable behavior of static #16987

@metagn

Description

@metagn

The section for static expressions/statements only covers static: doFoo() notation. It should also be shown that it is "callable" and that UFCS works on it, possible examples being static foo(), static(foo()), maybe even foo().static and foo().static().

(I know static behaves like an operator, specifically a prefix only operator like not, but I don't think this would be great to put in the spec)

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationRelated to documentation content (not generation).Easy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions