Ruby: Error parsing embedded multiline blocks
Open
question
- Dominant language
- CodeQL
- Stars
- 10.1k
- Forks
- 2.1k
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 141
Description
**Description of the issue**
Seeing this error in the CodeQL run: `A parse error occurred. Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis.`
The errored code block in question looks something like this and runs correctly.
```ruby
<<~BLOCKA
if some_condition?
<<~BLOCKB
BLOCKB
end
BLOCKA
```
Contributor guide
Assessment
This issue has not been assessed yet.