Skip to content

Switch to go's casting syntax #2231

Description

@brson

Go does:

x.(type)

People like it. It would make our casting precedence much clearer since it would be the same as field/method access (our as precedence has changed twice in the last year).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-grammarArea: The grammar of Rust

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions