We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5759e03 commit de2a55eCopy full SHA for de2a55e
src/iterate.jl
@@ -717,6 +717,9 @@ function _vcat(x, i)
717
x.trivia[1]
718
elseif i == length(x)
719
x.trivia[2]
720
+ elseif (i-1) > length(x.args)
721
+ # TODO Remove once we have figured out what is causing this bug
722
+ error("Illegal indexing into CSTParser. x.head: '$(x.head)', x.trivia: '$(x.trivia)', x.args: '$(x.args)'.")
723
else
724
x.args[i - 1]
725
end
0 commit comments