You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should be able to handle the situation where additional code is specified on the line where the heredoc starts, however it may not be possible to handle the stacked heredocs.
The primary issue was resolved with build 3116. There isn't really a way to handle the nested heredocs if they are different embedded syntaxes since they would be added and popped off of the stack in reverse order than the way Ruby would interpret them.
I don't currently foresee us being able to handle the multiple, nested, different syntax heredocs without a significant rewrite of how syntaxes work.
It's valid Ruby to include more code on the same line as the opening tag of a HEREDOC block:
Multiple consecutive HEREDOC blocks are also valid:
And it can get even more complicated:
The text was updated successfully, but these errors were encountered: