codeql
codeql copied to clipboard
Ruby: Error parsing embedded multiline blocks
trafficstars
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.
<<~BLOCKA
if some_condition?
<<~BLOCKB
BLOCKB
end
BLOCKA
Hi @causztic,
Thanks for reporting this. I was able to reproduce this on the latest CodeQL version and I will report this to the Ruby team.