Skip to content

Hangs for a specific input #12

Description

@hrj

This input causes the parser to hang:

   package com.demo;
   public class Test {
     public void test() {
         cu.accept(new ASTVisitor() {

              public boolean visit(VariableDeclarationFragment node) {
                  cu.getLineNumber(name.getStartPosition());
              }

          });
      }
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions