Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
🐛 Properly handle variables ending in "do" followed by pipes #215
Description of the Change
Variables ending in "do" followed by || or ||= were mistakenly treated as blocks by the grammar:
The grammar was naively treating
It would be nice if this could be done using a more sane regex, but that is impossible since a lookbehind is necessary. Imagine if it were this:
Wouldn't that be nice!
Variables ending in
Can't imagine any, this is just a syntax.