The method JavacParser#peekToken is wrong when the first parameter is not zero

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 17
    • Affects Version/s: 17
    • Component/s: tools
    • b24
    • generic
    • generic

      The implementation of the method JavacParser#peekToken(int lookahead, Predicate<TokenKind>... kinds) succeeds only when the first parameter `lookahead` is zero.

      If the `lookahead` is not zero, it is wrong and returns unexpected result.

            Assignee:
            Guoxiong Li
            Reporter:
            Guoxiong Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: