Skip to content

Tuples can't have trailing comma #208

@robinhundt

Description

@robinhundt

Garble currently disallows trailing commas in tuple types. This is especially confusing when declaring a one element tuple type, which must be done as (ty) instead of (ty,). The former in Rust would actually be equal to just ty (Playground).

Metadata

Metadata

Assignees

No one assigned

    Labels

    rust-mismatchConfusing mismatch between Garble and Rust

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions