Skip to content

[enums] Accessor symbol for enum values #6328

Description

@dj2

What should the symbol be for accessing an enum. The two main options are Enum::kValue or Enum.kValue.

The first is used by c++ and Rust, the second Swift (and I believe other languages).

The symbol used should possibly also be the symbol used when/if we add namespace suppport for accessing into a namespace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wgslWebGPU Shading Language Issues

    Type

    No type

    Projects

    Status
    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions