Skip to content

bug: Incorrect parsing of typecast next to greater than sign #284

@nickeb96

Description

@nickeb96

Did you check the tree-sitter docs?

Is your feature request related to a problem? Please describe.

if data.len() as wgpu::BufferAddress <= self.buffer.size() {
    // ...
}

The < part of the greater-than-or-equal-to operator is being interpreted as the opening of type arguments to wgpu::BufferAddress and causing a parse error

Describe the solution you'd like

N/A

Describe alternatives you've considered

N/A

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions