Skip to content

Expand generic-parsing special cases to cover >= and >>= #15043

Closed
@sp3d

Description

@sp3d

Right now we have a parser tweak so that closing two generics in a row without a space between > signs works fine. It would be nice if this also worked for closing generics immediately prior to an equals sign, as in the following example:

struct S<T>
{
    data: T,
}
static s1:S<S<uint>>=S { data: S {data: 0}};
static s2:S<uint>=S { data: 0};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions