Github user FlorianHockmann commented on a diff in the pull request: https://github.com/apache/tinkerpop/pull/792#discussion_r175266150 --- Diff: gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/TraversalParser.cs --- @@ -398,7 +398,7 @@ private static ITokenParameter ParseParameter(string text, ref int i) { return ParseNumber(text, ref i); } - if (text.Substring(i, 3).StartsWith("__.")) + if (text.Length >= i + 3 && text.Substring(i, 3).StartsWith("__.")) --- End diff -- Done
---