tree-sitter-rust
tree-sitter-rust copied to clipboard
bug: Incorrect parsing of typecast next to greater than sign
Did you check the tree-sitter docs?
- [x] I have read all the tree-sitter docs if it relates to using the parser
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